summaryrefslogtreecommitdiff
path: root/opendc-compute/opendc-compute-simulator/src/test
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2022-10-18 11:01:37 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2022-10-28 15:02:33 +0200
commitc6f2d16a20bfac466480c0e98341b08b12fc0772 (patch)
tree0cb0b456fbff089ae14af684d6f8b95d3f6a7141 /opendc-compute/opendc-compute-simulator/src/test
parentd5aed4b1e6e5548728c5978e3b46d1472b62e791 (diff)
feat(compute/sim): Model host boot time
This change updates `SimHost` to support modeling the time and resource consumption it takes to boot the host. The boot procedure is modeled as a `SimWorkload`.
Diffstat (limited to 'opendc-compute/opendc-compute-simulator/src/test')
-rw-r--r--opendc-compute/opendc-compute-simulator/src/test/kotlin/org/opendc/compute/simulator/SimHostTest.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/opendc-compute/opendc-compute-simulator/src/test/kotlin/org/opendc/compute/simulator/SimHostTest.kt b/opendc-compute/opendc-compute-simulator/src/test/kotlin/org/opendc/compute/simulator/SimHostTest.kt
index 02be3f28..27151422 100644
--- a/opendc-compute/opendc-compute-simulator/src/test/kotlin/org/opendc/compute/simulator/SimHostTest.kt
+++ b/opendc-compute/opendc-compute-simulator/src/test/kotlin/org/opendc/compute/simulator/SimHostTest.kt
@@ -86,7 +86,7 @@ internal class SimHostTest {
uid = UUID.randomUUID(),
name = "test",
meta = emptyMap(),
- graph,
+ clock,
machine,
hypervisor
)
@@ -154,7 +154,7 @@ internal class SimHostTest {
uid = UUID.randomUUID(),
name = "test",
meta = emptyMap(),
- graph,
+ clock,
machine,
hypervisor
)
@@ -236,7 +236,7 @@ internal class SimHostTest {
uid = UUID.randomUUID(),
name = "test",
meta = emptyMap(),
- graph,
+ clock,
machine,
hypervisor
)