Skip to content
Snippets Groups Projects
Unverified Commit 34df486f authored by Felix Kunde's avatar Felix Kunde Committed by GitHub
Browse files

fix flaky comparison unit test of retruned errors (#2822)

parent bb6242e3
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,6 @@ var (
},
BatchSize: k8sutil.UInt32ToPointer(uint32(100)),
CPU: k8sutil.StringToPointer("250m"),
Memory: k8sutil.StringToPointer("500Mi"),
},
},
TeamID: "acid",
......@@ -96,7 +95,6 @@ var (
Namespace: namespace,
Annotations: map[string]string{
constants.EventStreamCpuAnnotationKey: "250m",
constants.EventStreamMemoryAnnotationKey: "500Mi",
},
Labels: map[string]string{
"application": "spilo",
......@@ -654,7 +652,7 @@ func TestSameStreams(t *testing.T) {
streamsA: newFabricEventStream([]zalandov1.EventStream{stream1, stream2}, nil),
streamsB: fes,
match: false,
reason: "new streams annotations do not match: Added \"fes.zalando.org/FES_CPU\" with value \"250m\". Added \"fes.zalando.org/FES_MEMORY\" with value \"500Mi\"., new streams labels do not match the current ones, new streams EventStreams array does not match : number of defined streams is different",
reason: "new streams annotations do not match: Added \"fes.zalando.org/FES_CPU\" with value \"250m\"., new streams labels do not match the current ones, new streams EventStreams array does not match : number of defined streams is different",
},
{
subTest: "event stream recovery specs differ",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment