From 4d3587f52db95098967daede31f0406642380673 Mon Sep 17 00:00:00 2001 From: "stu126940@mail.uni-kiel.de" <stu126940@mail.uni-kiel.de> Date: Wed, 3 Feb 2021 14:56:06 +0100 Subject: [PATCH] update test to work with new interfaces --- .../kotlin/theodolite/util/TestBenchmark.kt | 25 ++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/theodolite-quarkus/src/main/kotlin/theodolite/util/TestBenchmark.kt b/theodolite-quarkus/src/main/kotlin/theodolite/util/TestBenchmark.kt index 8d4dbbf51..faf7bf5f7 100644 --- a/theodolite-quarkus/src/main/kotlin/theodolite/util/TestBenchmark.kt +++ b/theodolite-quarkus/src/main/kotlin/theodolite/util/TestBenchmark.kt @@ -1,7 +1,22 @@ package theodolite.util -class TestBenchmark: Benchmark(config = emptyMap()) { - override fun start() { +import theodolite.k8s.UC1Benchmark + +class TestBenchmark: Benchmark(UC1Benchmark.UC1BenchmarkConfig( + zookeeperConnectionString = "", + kafkaIPConnectionString = "", + schemaRegistryConnectionString = "", + kafkaTopics = emptyList(), + kafkaReplication = 0, + kafkaPartition = 0, + ucServicePath = "", + ucDeploymentPath = "", + wgDeploymentPath = "", + ucImageURL = "", + wgImageURL = "" +)){ + + override fun initializeClusterEnvironment() { TODO("Not yet implemented") } @@ -9,7 +24,11 @@ class TestBenchmark: Benchmark(config = emptyMap()) { TODO("Not yet implemented") } - override fun startWorkloadGenerator(wg: String, dimValue: Int, ucId: String) { + override fun startSUT(resources: Resource) { + TODO("Not yet implemented") + } + + override fun startWorkloadGenerator(load: LoadDimension) { TODO("Not yet implemented") } } \ No newline at end of file -- GitLab