Skip to content

Commit f9f6890

Browse files
committed
Deflake oc observe test by using explicit port number
1 parent c2d7f5b commit f9f6890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/extended/cli/observe.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ var _ = g.Describe("[sig-cli] oc observe", func() {
105105
})
106106

107107
g.It("works as expected with cluster operators [apigroup:config.openshift.io]", func() {
108-
out, err := oc.Run("observe").Args("clusteroperators", "--once").Output()
108+
out, err := oc.Run("observe").Args("clusteroperators", "--once", "--listen-addr=:11252").Output()
109109
o.Expect(err).NotTo(o.HaveOccurred())
110110
o.Expect(out).To(o.ContainSubstring("kube-apiserver"))
111111
})

0 commit comments

Comments
 (0)