-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added 9 new tests specifically testing the Multiplexer. This assumes …
…the Multiplexer is using MaxMinFairness given that this is currently the default and only fairness available in OpenDC. (#280)
- Loading branch information
1 parent
a49a387
commit b4f694d
Showing
34 changed files
with
610 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
544 changes: 544 additions & 0 deletions
544
...ts/opendc-experiments-base/src/test/kotlin/org/opendc/experiments/base/MultiplexerTest.kt
Large diffs are not rendered by default.
Oops, something went wrong.
79 changes: 0 additions & 79 deletions
79
...opendc-experiments-base/src/test/kotlin/org/opendc/experiments/base/ScenarioRunnerTest.kt
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
22 changes: 22 additions & 0 deletions
22
...ents/opendc-experiments-base/src/test/resources/Multiplexer/topologies/single_1_2000.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"clusters": | ||
[ | ||
{ | ||
"name": "C01", | ||
"hosts" : | ||
[ | ||
{ | ||
"name": "H01", | ||
"cpu": | ||
{ | ||
"coreCount": 1, | ||
"coreSpeed": 2000 | ||
}, | ||
"memory": { | ||
"memorySize": 140457600000 | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
22 changes: 22 additions & 0 deletions
22
...ents/opendc-experiments-base/src/test/resources/Multiplexer/topologies/single_2_2000.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"clusters": | ||
[ | ||
{ | ||
"name": "C01", | ||
"hosts" : | ||
[ | ||
{ | ||
"name": "H01", | ||
"cpu": | ||
{ | ||
"coreCount": 2, | ||
"coreSpeed": 2000 | ||
}, | ||
"memory": { | ||
"memorySize": 140457600000 | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
Binary file added
BIN
+2.62 KB
...periments-base/src/test/resources/Multiplexer/traces/multiplexer_test_1/fragments.parquet
Binary file not shown.
Binary file added
BIN
+3.83 KB
...c-experiments-base/src/test/resources/Multiplexer/traces/multiplexer_test_1/tasks.parquet
Binary file not shown.
Binary file added
BIN
+2.62 KB
...periments-base/src/test/resources/Multiplexer/traces/multiplexer_test_2/fragments.parquet
Binary file not shown.
Binary file added
BIN
+3.83 KB
...c-experiments-base/src/test/resources/Multiplexer/traces/multiplexer_test_2/tasks.parquet
Binary file not shown.
Binary file added
BIN
+2.62 KB
...periments-base/src/test/resources/Multiplexer/traces/multiplexer_test_3/fragments.parquet
Binary file not shown.
Binary file added
BIN
+3.83 KB
...c-experiments-base/src/test/resources/Multiplexer/traces/multiplexer_test_3/tasks.parquet
Binary file not shown.
Binary file added
BIN
+2.62 KB
...periments-base/src/test/resources/Multiplexer/traces/multiplexer_test_4/fragments.parquet
Binary file not shown.
Binary file added
BIN
+3.83 KB
...c-experiments-base/src/test/resources/Multiplexer/traces/multiplexer_test_4/tasks.parquet
Binary file not shown.
Binary file added
BIN
+2.63 KB
...periments-base/src/test/resources/Multiplexer/traces/multiplexer_test_5/fragments.parquet
Binary file not shown.
Binary file added
BIN
+3.83 KB
...c-experiments-base/src/test/resources/Multiplexer/traces/multiplexer_test_5/tasks.parquet
Binary file not shown.
Binary file added
BIN
+2.63 KB
...periments-base/src/test/resources/Multiplexer/traces/multiplexer_test_6/fragments.parquet
Binary file not shown.
Binary file added
BIN
+3.83 KB
...c-experiments-base/src/test/resources/Multiplexer/traces/multiplexer_test_6/tasks.parquet
Binary file not shown.
Binary file added
BIN
+2.63 KB
...periments-base/src/test/resources/Multiplexer/traces/multiplexer_test_7/fragments.parquet
Binary file not shown.
Binary file added
BIN
+3.85 KB
...c-experiments-base/src/test/resources/Multiplexer/traces/multiplexer_test_7/tasks.parquet
Binary file not shown.
Binary file added
BIN
+2.63 KB
...periments-base/src/test/resources/Multiplexer/traces/multiplexer_test_8/fragments.parquet
Binary file not shown.
Binary file added
BIN
+3.85 KB
...c-experiments-base/src/test/resources/Multiplexer/traces/multiplexer_test_8/tasks.parquet
Binary file not shown.
Binary file added
BIN
+2.65 KB
...periments-base/src/test/resources/Multiplexer/traces/multiplexer_test_9/fragments.parquet
Binary file not shown.
Binary file added
BIN
+3.83 KB
...c-experiments-base/src/test/resources/Multiplexer/traces/multiplexer_test_9/tasks.parquet
Binary file not shown.
15 changes: 0 additions & 15 deletions
15
opendc-experiments/opendc-experiments-base/src/test/resources/model.json
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters