summaryrefslogtreecommitdiff
path: root/opendc/opendc-workflows/src/test/resources/environment.json
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2020-02-29 15:40:55 +0100
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-02-29 15:40:55 +0100
commit1631157a0c6d3ee6f93d422ad39bcee0ece4de3b (patch)
tree0fe49b91dcdcfc3e5a03ef4978907e1afe6d120f /opendc/opendc-workflows/src/test/resources/environment.json
parentf13cda61c142ff3d1a2e75de2b05667bdb3ab3ae (diff)
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.
Diffstat (limited to 'opendc/opendc-workflows/src/test/resources/environment.json')
-rw-r--r--opendc/opendc-workflows/src/test/resources/environment.json36
1 files changed, 36 insertions, 0 deletions
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]}
+ ]
+ }
+ ]
+ }
+ ]
+}