Skip to content

Commit c632ae2

Browse files
committed
UPSTREAM: 133682: Increase port-forward broken connection detection client timeout
1 parent a237dcb commit c632ae2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/kubectl/portforward.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ var _ = SIGDescribe("Kubectl Port forwarding", func() {
641641

642642
ginkgo.By("Send a http request to verify port-forward working")
643643
client := http.Client{
644-
Timeout: 15 * time.Second,
644+
Timeout: 1 * time.Minute, // account for the duration of the entire test
645645
}
646646
resp, err := client.Get(fmt.Sprintf("http://127.0.0.1:%d/", cmd.port))
647647
framework.ExpectNoError(err, "couldn't get http response from port-forward")

0 commit comments

Comments
 (0)