Skip to content

Commit 491a23f

Browse files
authored
Merge pull request kubernetes#129999 from pohly/test-e2e-node-timeout
E2E node: fix --timeout default
2 parents 9a03243 + 46a17f6 commit 491a23f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e_node/remote/remote.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ func RunRemote(cfg RunRemoteConfig) (string, bool, error) {
154154
}
155155

156156
allGinkgoFlags := cfg.GinkgoArgs
157-
if !strings.Contains(allGinkgoFlags, "--timeout") {
157+
if !strings.Contains(allGinkgoFlags, "-timeout") {
158158
klog.Warningf("ginkgo flags are missing explicit --timeout (ginkgo defaults to 60 minutes)")
159159
// see https://github.com/onsi/ginkgo/blob/master/docs/index.md#:~:text=ginkgo%20%2D%2Dtimeout%3Dduration
160160
// ginkgo suite timeout should be more than the default but less than the

0 commit comments

Comments
 (0)