Skip to content

Commit 55a9ce0

Browse files
committed
update extended tests to work with non-empty output
1 parent fd8f4a3 commit 55a9ce0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/extended/builds/remove_buildconfig.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ var _ = g.Describe("[builds][Conformance] remove all builds when build configura
4747
err = wait.Poll(3*time.Second, 3*time.Minute, func() (bool, error) {
4848
out, err := oc.Run("get").Args("-o", "name", "builds").Output()
4949
o.Expect(err).NotTo(o.HaveOccurred())
50-
if len(out) == 0 {
50+
if out == "No resources found." {
5151
return true, nil
5252
}
5353
return false, nil

0 commit comments

Comments
 (0)