diff --git a/theodolite/src/main/kotlin/theodolite/execution/BenchmarkExecutorImpl.kt b/theodolite/src/main/kotlin/theodolite/execution/BenchmarkExecutorImpl.kt index c49a40a531df50eb58f21d68cf2d8be13b284374..790e796e0792acb2542a69db7c1f626aa7c0ee67 100644 --- a/theodolite/src/main/kotlin/theodolite/execution/BenchmarkExecutorImpl.kt +++ b/theodolite/src/main/kotlin/theodolite/execution/BenchmarkExecutorImpl.kt @@ -88,10 +88,12 @@ class BenchmarkExecutorImpl( this.loadGenerationDelay, this.afterTeardownDelay ) - val from = Instant.now() + val from: Instant try { benchmarkDeployment.setup() + from = Instant.now() + this.waitAndLog() if (mode == ExecutionModes.OPERATOR.value) { eventCreator.createEvent(