summaryrefslogtreecommitdiff
path: root/opendc/opendc-experiments-sc20/src
diff options
context:
space:
mode:
Diffstat (limited to 'opendc/opendc-experiments-sc20/src')
-rw-r--r--opendc/opendc-experiments-sc20/src/test/kotlin/com/atlarge/opendc/experiments/sc20/Sc20IntegrationTest.kt4
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() {}
}
}