File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -617,7 +617,8 @@ var _ = SIGDescribe("Kubectl Port forwarding", func() {
617
617
// this error indicates timeout when POST-ing data
618
618
gomega .ContainSubstring ("context deadline exceeded" ),
619
619
// this will happen when trying to write to a closed connection
620
- gomega .ContainSubstring ("write: broken pipe" ), gomega .ContainSubstring ("closed network connection" )))
620
+ gomega .ContainSubstring ("write: broken pipe" ), gomega .ContainSubstring ("closed network connection" ),
621
+ gomega .ContainSubstring ("connect: connection refused" )))
621
622
622
623
ginkgo .By ("Check kubectl port-forward exit code" )
623
624
gomega .Expect (cmd .cmd .ProcessState .ExitCode ()).To (gomega .BeNumerically ("<" , 0 ), "kubectl port-forward should finish with non-zero exit code" )
You can’t perform that action at this time.
0 commit comments