Skip to content
Snippets Groups Projects
Commit 43501736 authored by Julia Rossow's avatar Julia Rossow
Browse files

Bug Fix: sloChecker -> listOf(sloChecker)

parent 5ddc2fd3
No related branches found
No related tags found
1 merge request!215Redesign Strategy, Load, and Resources data types
...@@ -31,7 +31,7 @@ class InitialGuessSearchStrategyTest { ...@@ -31,7 +31,7 @@ class InitialGuessSearchStrategyTest {
val results = Results() val results = Results()
val benchmark = TestBenchmark() val benchmark = TestBenchmark()
val sloChecker: BenchmarkExecution.Slo = BenchmarkExecution.Slo() 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 strategy = InitialGuessSearchStrategy(benchmarkExecutor)
val actual: ArrayList<Resource?> = ArrayList() val actual: ArrayList<Resource?> = ArrayList()
...@@ -71,7 +71,7 @@ class InitialGuessSearchStrategyTest { ...@@ -71,7 +71,7 @@ class InitialGuessSearchStrategyTest {
val results = Results() val results = Results()
val benchmark = TestBenchmark() val benchmark = TestBenchmark()
val sloChecker: BenchmarkExecution.Slo = BenchmarkExecution.Slo() 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 strategy = InitialGuessSearchStrategy(benchmarkExecutor)
val actual: ArrayList<Resource?> = ArrayList() val actual: ArrayList<Resource?> = ArrayList()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment