summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2023-06-18 21:33:05 +0300
committerPaul Buetow <paul@buetow.org>2023-06-18 21:33:05 +0300
commit8ab41dc0d90730009f5d547bbfaab93d5dd9496a (patch)
tree89cd2d1dd3a3bd1ec2bfeddc8e4fa23650566c80
parentacb13e2ccea7fcef31894ea3b1bad2718ed85737 (diff)
initial ingegrationtests
-rw-r--r--integrationtests/README.md3
-rw-r--r--integrationtests/Taskfile.yml12
-rw-r--r--integrationtests/gorum-earth.json11
-rw-r--r--integrationtests/gorum-mars.json11
-rw-r--r--integrationtests/gorum-uranus.json10
5 files changed, 47 insertions, 0 deletions
diff --git a/integrationtests/README.md b/integrationtests/README.md
new file mode 100644
index 0000000..aa5aa78
--- /dev/null
+++ b/integrationtests/README.md
@@ -0,0 +1,3 @@
+# Integrationtests
+
+Start all 3 instances manually, and play around.
diff --git a/integrationtests/Taskfile.yml b/integrationtests/Taskfile.yml
new file mode 100644
index 0000000..1f87f1c
--- /dev/null
+++ b/integrationtests/Taskfile.yml
@@ -0,0 +1,12 @@
+version: '3'
+
+tasks:
+ earth:
+ cmds:
+ - ../gorum -cfg gorum-earth.json
+ mars:
+ cmds:
+ - ../gorum -cfg gorum-mars.json
+ uranus:
+ cmds:
+ - ../gorum -cfg gorum-uranus.json
diff --git a/integrationtests/gorum-earth.json b/integrationtests/gorum-earth.json
new file mode 100644
index 0000000..2909ddb
--- /dev/null
+++ b/integrationtests/gorum-earth.json
@@ -0,0 +1,11 @@
+{
+ "StateDir": "./",
+ "MyID": "earth",
+ "RelaxedMode": true,
+ "Address": ":1234",
+ "Nodes": [
+ "localhost:1234",
+ "localhost:2341",
+ "localhost:3412"
+ ]
+}
diff --git a/integrationtests/gorum-mars.json b/integrationtests/gorum-mars.json
new file mode 100644
index 0000000..d4e2538
--- /dev/null
+++ b/integrationtests/gorum-mars.json
@@ -0,0 +1,11 @@
+{
+ "StateDir": "./",
+ "MyID": "mars",
+ "RelaxedMode": true,
+ "Address": ":2341",
+ "Nodes": [
+ "localhost:1234",
+ "localhost:2341",
+ "localhost:3412"
+ ]
+}
diff --git a/integrationtests/gorum-uranus.json b/integrationtests/gorum-uranus.json
new file mode 100644
index 0000000..3ef3419
--- /dev/null
+++ b/integrationtests/gorum-uranus.json
@@ -0,0 +1,10 @@
+{
+ "StateDir": "./",
+ "MyID": "uranus",
+ "RelaxedMode": true,
+ "Address": ":3412",
+ "Nodes": [
+ "localhost:1234",
+ "localhost:3412"
+ ]
+}