summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2023-06-29 09:39:04 +0300
committerPaul Buetow <paul@buetow.org>2023-06-29 09:39:04 +0300
commit118ef49c704c121bb73b099a9dd34ed1e4f60e86 (patch)
tree8f15be8c29cbdac242e74645caadc07086e6e38e /test
parent38f59c283a72668f7802bb3086233e187f29ecf1 (diff)
belongs to test
Diffstat (limited to 'test')
-rw-r--r--test/README.md3
-rw-r--r--test/Taskfile.yml12
-rw-r--r--test/gorum-earth.json11
-rw-r--r--test/gorum-mars.json11
-rw-r--r--test/gorum-uranus.json11
5 files changed, 48 insertions, 0 deletions
diff --git a/test/README.md b/test/README.md
new file mode 100644
index 0000000..aa5aa78
--- /dev/null
+++ b/test/README.md
@@ -0,0 +1,3 @@
+# Integrationtests
+
+Start all 3 instances manually, and play around.
diff --git a/test/Taskfile.yml b/test/Taskfile.yml
new file mode 100644
index 0000000..1f87f1c
--- /dev/null
+++ b/test/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/test/gorum-earth.json b/test/gorum-earth.json
new file mode 100644
index 0000000..2909ddb
--- /dev/null
+++ b/test/gorum-earth.json
@@ -0,0 +1,11 @@
+{
+ "StateDir": "./",
+ "MyID": "earth",
+ "RelaxedMode": true,
+ "Address": ":1234",
+ "Nodes": [
+ "localhost:1234",
+ "localhost:2341",
+ "localhost:3412"
+ ]
+}
diff --git a/test/gorum-mars.json b/test/gorum-mars.json
new file mode 100644
index 0000000..d4e2538
--- /dev/null
+++ b/test/gorum-mars.json
@@ -0,0 +1,11 @@
+{
+ "StateDir": "./",
+ "MyID": "mars",
+ "RelaxedMode": true,
+ "Address": ":2341",
+ "Nodes": [
+ "localhost:1234",
+ "localhost:2341",
+ "localhost:3412"
+ ]
+}
diff --git a/test/gorum-uranus.json b/test/gorum-uranus.json
new file mode 100644
index 0000000..a19d73c
--- /dev/null
+++ b/test/gorum-uranus.json
@@ -0,0 +1,11 @@
+{
+ "StateDir": "./",
+ "MyID": "uranus",
+ "RelaxedMode": true,
+ "Address": ":3412",
+ "Nodes": [
+ "localhost:1234",
+ "localhost:2341",
+ "localhost:3412"
+ ]
+}