From 1631157a0c6d3ee6f93d422ad39bcee0ece4de3b Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Sat, 29 Feb 2020 15:40:55 +0100 Subject: test: Add integration test for workflow service This change adds a simple integration test so we can measure the change in duration after performance improvements and test whether large experiments will still function after changes. --- .../src/test/resources/environment.json | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 opendc/opendc-workflows/src/test/resources/environment.json (limited to 'opendc/opendc-workflows/src/test/resources/environment.json') diff --git a/opendc/opendc-workflows/src/test/resources/environment.json b/opendc/opendc-workflows/src/test/resources/environment.json new file mode 100644 index 00000000..0965b250 --- /dev/null +++ b/opendc/opendc-workflows/src/test/resources/environment.json @@ -0,0 +1,36 @@ +{ + "name": "Experimental Setup 2", + "rooms": [ + { + "type": "SERVER", + "objects": [ + { + "type": "RACK", + "machines": [ + { "cpus": [2] }, { "cpus": [2]}, + { "cpus": [2] }, { "cpus": [2]}, + { "cpus": [2] }, { "cpus": [2]}, + { "cpus": [2] }, { "cpus": [2]}, + { "cpus": [2] }, { "cpus": [2]}, + { "cpus": [2] }, { "cpus": [2]}, + { "cpus": [2] }, { "cpus": [2]}, + { "cpus": [2] }, { "cpus": [2]} + ] + }, + { + "type": "RACK", + "machines": [ + { "cpus": [1] }, { "cpus": [1]}, + { "cpus": [1] }, { "cpus": [1]}, + { "cpus": [1] }, { "cpus": [1]}, + { "cpus": [1] }, { "cpus": [1]}, + { "cpus": [1] }, { "cpus": [1]}, + { "cpus": [1] }, { "cpus": [1]}, + { "cpus": [1] }, { "cpus": [1]}, + { "cpus": [1] }, { "cpus": [1]} + ] + } + ] + } + ] +} -- cgit v1.2.3