Skip to content
Snippets Groups Projects
Commit f1e49211 authored by Benedikt Wetzel's avatar Benedikt Wetzel
Browse files

merge master

parents 79d68f42 3478fe70
No related branches found
No related tags found
4 merge requests!159Re-implementation of Theodolite with Kotlin/Quarkus,!157Update Graal Image in CI pipeline,!83WIP: Re-implementation of Theodolite with Kotlin/Quarkus,!78Resolve "Implement Quarkus/Kotlin protype"
......@@ -28,7 +28,7 @@ class TheodoliteExecutor() {
wgImageURL = "ghcr.io/cau-se/theodolite-uc1-kstreams-workload-generator:latest"
))
val results: Results = Results()
val executionDuration = Duration.ofSeconds(60*5 )
val executionDuration = Duration.ofSeconds(60*5)
val executor: BenchmarkExecutor = KafkaBenchmarkExecutor(benchmark, results, executionDuration)
val restrictionStrategy = LowerBoundRestriction(results)
......
......@@ -20,7 +20,7 @@ class BinarySearch(benchmarkExecutor: BenchmarkExecutor, results: Results) : Sea
throw IllegalArgumentException()
}
// special case: length == 1 or 2
if (lower == upper ) {
if (lower == upper) {
if (this.benchmarkExecutor.runExperiment(load, resources[lower])) return lower
else {
if (lower + 1 == resources.size) return - 1
......
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