Skip to content
Snippets Groups Projects
Commit 5a8aca02 authored by Lorenz Boguhn's avatar Lorenz Boguhn
Browse files

Fix Shutdown.kt

parent 9d08d51a
No related branches found
No related tags found
4 merge requests!159Re-implementation of Theodolite with Kotlin/Quarkus,!157Update Graal Image in CI pipeline,!96Handle shutdown,!83WIP: Re-implementation of Theodolite with Kotlin/Quarkus
...@@ -16,14 +16,12 @@ class Shutdown(private val benchmarkExecution: BenchmarkExecution, private val b ...@@ -16,14 +16,12 @@ class Shutdown(private val benchmarkExecution: BenchmarkExecution, private val b
logger.info { "Received shutdown signal -> Shutting down" } logger.info { "Received shutdown signal -> Shutting down" }
val deployment = val deployment =
benchmark.buildDeployment( benchmark.buildDeployment(
load = LoadDimension(0, "shutdown"), load = LoadDimension(0, emptyList()),
res = Resource(0, "shutdown"), res = Resource(0, emptyList()),
configurationOverrides = benchmarkExecution.configOverrides configurationOverrides = benchmarkExecution.configOverrides
) )
logger.info { "Teardown the everything deployed" } logger.info { "Teardown the everything deployed" }
deployment.teardown() deployment.teardown()
logger.info { "Teardown completed" } logger.info { "Teardown completed" }
// TODO Clear/Reset the kafka lag exporter ?
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment