Skip to content
Snippets Groups Projects
Commit b204546c authored by Julia Rossow's avatar Julia Rossow Committed by Sören Henning
Browse files

Bug Fix: sloChecker -> listOf(sloChecker)

parent 247966a3
No related branches found
No related tags found
1 merge request!210Add "Initial Guess" Search Strategy
......@@ -31,7 +31,7 @@ class InitialGuessSearchStrategyTest {
val results = Results()
val benchmark = TestBenchmark()
val sloChecker: BenchmarkExecution.Slo = BenchmarkExecution.Slo()
val benchmarkExecutor = TestBenchmarkExecutorImpl(mockResults, benchmark, results, sloChecker, 0, 0, 5)
val benchmarkExecutor = TestBenchmarkExecutorImpl(mockResults, benchmark, results, listOf(sloChecker), 0, 0, 5)
val strategy = InitialGuessSearchStrategy(benchmarkExecutor)
val actual: ArrayList<Resource?> = ArrayList()
......@@ -71,7 +71,7 @@ class InitialGuessSearchStrategyTest {
val results = Results()
val benchmark = TestBenchmark()
val sloChecker: BenchmarkExecution.Slo = BenchmarkExecution.Slo()
val benchmarkExecutor = TestBenchmarkExecutorImpl(mockResults, benchmark, results, sloChecker, 0, 0, 5)
val benchmarkExecutor = TestBenchmarkExecutorImpl(mockResults, benchmark, results, listOf(sloChecker), 0, 0, 5)
val strategy = InitialGuessSearchStrategy(benchmarkExecutor)
val actual: ArrayList<Resource?> = ArrayList()
......
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