From 118ef49c704c121bb73b099a9dd34ed1e4f60e86 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 29 Jun 2023 09:39:04 +0300 Subject: belongs to test --- test/README.md | 3 +++ test/Taskfile.yml | 12 ++++++++++++ test/gorum-earth.json | 11 +++++++++++ test/gorum-mars.json | 11 +++++++++++ test/gorum-uranus.json | 11 +++++++++++ 5 files changed, 48 insertions(+) create mode 100644 test/README.md create mode 100644 test/Taskfile.yml create mode 100644 test/gorum-earth.json create mode 100644 test/gorum-mars.json create mode 100644 test/gorum-uranus.json (limited to 'test') 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" + ] +} -- cgit v1.2.3