Skip to content
Snippets Groups Projects

Add delay before start the load generator

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -45,7 +45,7 @@ class KubernetesBenchmarkDeployment(
.map{ NewTopic(it.name, it.numPartitions, it.replicationFactor) }
kafkaController.createTopics(kafkaTopics)
appResources.forEach { kubernetesManager.deploy(it) }
logger.info { "Wait ${this.loadGenerationDelay} seconds before starting the workload generator." }
logger.info { "Wait ${this.loadGenerationDelay} seconds before starting the load generator." }
Thread.sleep(Duration.ofSeconds(this.loadGenerationDelay).toMillis())
loadGenResources.forEach { kubernetesManager.deploy(it) }
}
Loading