From 8ab41dc0d90730009f5d547bbfaab93d5dd9496a Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 18 Jun 2023 21:33:05 +0300 Subject: initial ingegrationtests --- integrationtests/README.md | 3 +++ integrationtests/Taskfile.yml | 12 ++++++++++++ integrationtests/gorum-earth.json | 11 +++++++++++ integrationtests/gorum-mars.json | 11 +++++++++++ integrationtests/gorum-uranus.json | 10 ++++++++++ 5 files changed, 47 insertions(+) create mode 100644 integrationtests/README.md create mode 100644 integrationtests/Taskfile.yml create mode 100644 integrationtests/gorum-earth.json create mode 100644 integrationtests/gorum-mars.json create mode 100644 integrationtests/gorum-uranus.json 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" + ] +} -- cgit v1.2.3