From 823bb2d217e6b35b1811b5f52016d8d9de09435d Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Wed, 6 Sep 2017 14:53:01 +0200 Subject: Implement time jumps to next event This change implements a time jump to the next event in the queue if there are no events scheduled for the current tick. --- opendc-core/src/test/kotlin/nl/atlarge/opendc/SmokeTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opendc-core/src/test') diff --git a/opendc-core/src/test/kotlin/nl/atlarge/opendc/SmokeTest.kt b/opendc-core/src/test/kotlin/nl/atlarge/opendc/SmokeTest.kt index 7d3c317e..50e22734 100644 --- a/opendc-core/src/test/kotlin/nl/atlarge/opendc/SmokeTest.kt +++ b/opendc-core/src/test/kotlin/nl/atlarge/opendc/SmokeTest.kt @@ -37,7 +37,7 @@ internal class SmokeTest { val builder = AdjacencyListTopologyBuilder() val topology = builder.build().apply { val rack = node(Rack()) - val n = 1000000 + val n = 100 // Create n machines in the rack repeat(n) { val machine = node(Machine()) -- cgit v1.2.3