Skip to content

Commit 073ecfa

Browse files
Merge pull request #30248 from ardaguclu/deflake-oc-timeout
NO-JIRA: Increase request-timeout to deflake test
2 parents bfc3f7d + 2627019 commit 073ecfa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/extended/cli/timeout.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ var _ = g.Describe("[sig-cli] oc --request-timeout", func() {
2525
// from server or from context it's ok
2626
o.Expect(out).Should(o.SatisfyAny(o.ContainSubstring("request canceled"), o.ContainSubstring("context deadline exceeded")))
2727

28-
out, err = oc.Run("get", "dc/testdc").Args("--request-timeout=1s").Output()
28+
out, err = oc.Run("get", "dc/testdc").Args("--request-timeout=2s").Output()
2929
o.Expect(err).NotTo(o.HaveOccurred())
3030
o.Expect(out).To(o.ContainSubstring("testdc"))
3131

32-
out, err = oc.Run("get", "dc/testdc").Args("--request-timeout=1").Output()
32+
out, err = oc.Run("get", "dc/testdc").Args("--request-timeout=2").Output()
3333
o.Expect(err).NotTo(o.HaveOccurred())
3434
o.Expect(out).To(o.ContainSubstring("testdc"))
3535

@@ -53,11 +53,11 @@ var _ = g.Describe("[sig-cli] oc --request-timeout", func() {
5353
// from server or from context it's ok
5454
o.Expect(out).Should(o.SatisfyAny(o.ContainSubstring("request canceled"), o.ContainSubstring("context deadline exceeded")))
5555

56-
out, err = oc.Run("get", "deployment/testdc").Args("--request-timeout=1s").Output()
56+
out, err = oc.Run("get", "deployment/testdc").Args("--request-timeout=2s").Output()
5757
o.Expect(err).NotTo(o.HaveOccurred())
5858
o.Expect(out).To(o.ContainSubstring("testdc"))
5959

60-
out, err = oc.Run("get", "deployment/testdc").Args("--request-timeout=1").Output()
60+
out, err = oc.Run("get", "deployment/testdc").Args("--request-timeout=2").Output()
6161
o.Expect(err).NotTo(o.HaveOccurred())
6262
o.Expect(out).To(o.ContainSubstring("testdc"))
6363

0 commit comments

Comments
 (0)