Merge pull request #129999 from pohly/test-e2e-node-timeout

E2E node: fix --timeout default
This commit is contained in:
Kubernetes Prow Robot 2025-02-06 03:59:55 -08:00 committed by GitHub
commit 491a23f079
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -154,7 +154,7 @@ func RunRemote(cfg RunRemoteConfig) (string, bool, error) {
}
allGinkgoFlags := cfg.GinkgoArgs
if !strings.Contains(allGinkgoFlags, "--timeout") {
if !strings.Contains(allGinkgoFlags, "-timeout") {
klog.Warningf("ginkgo flags are missing explicit --timeout (ginkgo defaults to 60 minutes)")
// see https://github.com/onsi/ginkgo/blob/master/docs/index.md#:~:text=ginkgo%20%2D%2Dtimeout%3Dduration
// ginkgo suite timeout should be more than the default but less than the