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

fix test

parent e8d61606
No related branches found
No related tags found
1 merge request!261Wait until the resources of the predecessor resourceSet are ready
Pipeline #7299 failed
...@@ -2,6 +2,7 @@ package theodolite.execution.operator ...@@ -2,6 +2,7 @@ package theodolite.execution.operator
import theodolite.benchmark.KubernetesBenchmark import theodolite.benchmark.KubernetesBenchmark
import theodolite.benchmark.Resources import theodolite.benchmark.Resources
import theodolite.benchmark.RolloutMode
import theodolite.model.crd.BenchmarkCRD import theodolite.model.crd.BenchmarkCRD
import theodolite.util.KafkaConfig import theodolite.util.KafkaConfig
...@@ -20,11 +21,12 @@ class BenchmarkCRDummy(name: String) { ...@@ -20,11 +21,12 @@ class BenchmarkCRDummy(name: String) {
kafkaConfig.bootstrapServer = "" kafkaConfig.bootstrapServer = ""
kafkaConfig.topics = emptyList() kafkaConfig.topics = emptyList()
benchmarkCR.spec = benchmark benchmarkCR.spec = benchmark
benchmarkCR.metadata.name = name benchmarkCR.metadata.name = name
benchmarkCR.kind = "Benchmark" benchmarkCR.kind = "Benchmark"
benchmarkCR.apiVersion = "v1" benchmarkCR.apiVersion = "v1"
benchmark.rolloutMode = RolloutMode.DEFAULT
benchmark.infrastructure = Resources() benchmark.infrastructure = Resources()
benchmark.sut = Resources() benchmark.sut = Resources()
......
...@@ -3,6 +3,7 @@ kind: benchmark ...@@ -3,6 +3,7 @@ kind: benchmark
metadata: metadata:
name: example-benchmark name: example-benchmark
spec: spec:
rolloutMode: "default"
sut: sut:
resources: resources:
- configMap: - configMap:
......
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