diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-05-19 23:20:18 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-05-20 01:36:03 +0200 |
| commit | f24c53dd13c40f46ca03b040bda5fc992d6fa9e3 (patch) | |
| tree | 51891520685f24a9c9b444f6b885b1b519c7a819 /opendc/opendc-experiments-sc20 | |
| parent | ee9f39c98d2d00586ac33767bb3205774981a58f (diff) | |
test: Add test to verify slice batching behavior
Diffstat (limited to 'opendc/opendc-experiments-sc20')
| -rw-r--r-- | opendc/opendc-experiments-sc20/src/test/kotlin/com/atlarge/opendc/experiments/sc20/Sc20IntegrationTest.kt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/opendc/opendc-experiments-sc20/src/test/kotlin/com/atlarge/opendc/experiments/sc20/Sc20IntegrationTest.kt b/opendc/opendc-experiments-sc20/src/test/kotlin/com/atlarge/opendc/experiments/sc20/Sc20IntegrationTest.kt index 0a4a56a8..68c2cbc5 100644 --- a/opendc/opendc-experiments-sc20/src/test/kotlin/com/atlarge/opendc/experiments/sc20/Sc20IntegrationTest.kt +++ b/opendc/opendc-experiments-sc20/src/test/kotlin/com/atlarge/opendc/experiments/sc20/Sc20IntegrationTest.kt @@ -136,6 +136,7 @@ class Sc20IntegrationTest { failureDomain?.cancel() scheduler.terminate() + monitor.close() } runSimulation() @@ -166,7 +167,6 @@ class Sc20IntegrationTest { ) scheduler = res.second - attachMonitor(scheduler, monitor) processTrace( traceReader, @@ -178,6 +178,7 @@ class Sc20IntegrationTest { println("Finish SUBMIT=${scheduler.submittedVms} FAIL=${scheduler.unscheduledVms} QUEUE=${scheduler.queuedVms} RUNNING=${scheduler.runningVms} FINISH=${scheduler.finishedVms}") scheduler.terminate() + monitor.close() } runSimulation() @@ -241,6 +242,7 @@ class Sc20IntegrationTest { totalOvercommissionedBurst += overcommissionedBurst totalInterferedBurst += interferedBurst } + override fun close() {} } } |
