Merge pull request #117721 from ionutbalutoiu/windows-tests/update-conn-check

windows-tests: Update connectivity check util function
This commit is contained in:
Kubernetes Prow Robot 2023-05-02 12:44:14 -07:00 committed by GitHub
commit d5329696c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,6 +102,7 @@ var _ = SIGDescribe("Hybrid cluster network", func() {
})
var (
warmUpDuration = "30s"
duration = "10s"
pollInterval = "1s"
timeoutSeconds = 10
@ -117,7 +118,7 @@ func assertConsistentConnectivity(ctx context.Context, f *framework.Framework, p
}
return err
}
gomega.Eventually(ctx, connChecker, duration, pollInterval).ShouldNot(gomega.HaveOccurred())
gomega.Eventually(ctx, connChecker, warmUpDuration, pollInterval).ShouldNot(gomega.HaveOccurred())
gomega.Consistently(ctx, connChecker, duration, pollInterval).ShouldNot(gomega.HaveOccurred())
}