From 814ee47817c5fa6240a5f384ade7362aec1e622c Mon Sep 17 00:00:00 2001 From: "stu126940@mail.uni-kiel.de" <stu126940@mail.uni-kiel.de> Date: Sat, 4 Jun 2022 12:11:23 +0200 Subject: [PATCH] bugfix set from parameter after setup is done --- .../main/kotlin/theodolite/execution/BenchmarkExecutorImpl.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/theodolite/src/main/kotlin/theodolite/execution/BenchmarkExecutorImpl.kt b/theodolite/src/main/kotlin/theodolite/execution/BenchmarkExecutorImpl.kt index c49a40a53..790e796e0 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( -- GitLab