File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -313,7 +313,6 @@ spec:
313313 o .Expect (err ).NotTo (o .HaveOccurred ())
314314 o .Expect (pods .Items ).To (o .HaveLen (1 ))
315315 o .Expect (pods .Items [0 ].Labels ).To (o .HaveKeyWithValue ("debug.openshift.io/managed-by" , "oc-debug" ))
316- o .Expect (pods .Items [0 ].Labels ).To (o .HaveLen (1 ))
317316
318317 oc .AsAdmin ().Run ("delete" ).Args ("pod" , pods .Items [0 ].Name , "-n" , ns ).Output ()
319318
@@ -336,6 +335,5 @@ spec:
336335 pods , err = oc .AdminKubeClient ().CoreV1 ().Pods (ns ).List (context .TODO (), metav1.ListOptions {LabelSelector : "debug.openshift.io/managed-by=oc-debug" })
337336 o .Expect (pods .Items ).To (o .HaveLen (1 ))
338337 o .Expect (pods .Items [0 ].Labels ).To (o .HaveKeyWithValue ("debug.openshift.io/managed-by" , "oc-debug" ))
339- o .Expect (pods .Items [0 ].Labels ).To (o .HaveLen (1 ))
340338 })
341339})
You can’t perform that action at this time.
0 commit comments