summaryrefslogtreecommitdiff
path: root/simulator/opendc-compute/opendc-compute-service/src/test
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-03-25 14:49:07 +0100
committerFabian Mastenbroek <mail.fabianm@gmail.com>2021-03-26 15:40:27 +0100
commit0d66ef47d6e1ec0861b4939800c5070f96600ca0 (patch)
treed3e060054c697c9a4378aec65eb6200b87dbe1c9 /simulator/opendc-compute/opendc-compute-service/src/test
parent0c5f0a07f87f85119be83b923ffe60b3863ebb9d (diff)
compute: Remove dependency on event tracer
This change removes the dependency on the event tracer in `opendc-trace`, since we are in the process of migrating OpenDC to use OpenTelemetry for distributed tracing and metrics.
Diffstat (limited to 'simulator/opendc-compute/opendc-compute-service/src/test')
-rw-r--r--simulator/opendc-compute/opendc-compute-service/src/test/kotlin/org/opendc/compute/service/ComputeServiceTest.kt4
1 files changed, 1 insertions, 3 deletions
diff --git a/simulator/opendc-compute/opendc-compute-service/src/test/kotlin/org/opendc/compute/service/ComputeServiceTest.kt b/simulator/opendc-compute/opendc-compute-service/src/test/kotlin/org/opendc/compute/service/ComputeServiceTest.kt
index ffec92ea..e1482152 100644
--- a/simulator/opendc-compute/opendc-compute-service/src/test/kotlin/org/opendc/compute/service/ComputeServiceTest.kt
+++ b/simulator/opendc-compute/opendc-compute-service/src/test/kotlin/org/opendc/compute/service/ComputeServiceTest.kt
@@ -40,7 +40,6 @@ import org.opendc.compute.service.driver.HostModel
import org.opendc.compute.service.driver.HostState
import org.opendc.compute.service.scheduler.AvailableMemoryAllocationPolicy
import org.opendc.simulator.utils.DelayControllerClockAdapter
-import org.opendc.trace.core.EventTracer
import java.util.*
/**
@@ -55,9 +54,8 @@ internal class ComputeServiceTest {
fun setUp() {
scope = TestCoroutineScope()
val clock = DelayControllerClockAdapter(scope)
- val tracer = EventTracer(clock)
val policy = AvailableMemoryAllocationPolicy()
- service = ComputeService(scope.coroutineContext, clock, tracer, policy)
+ service = ComputeService(scope.coroutineContext, clock, policy)
}
@AfterEach