mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 11:38:15 +00:00
Merge pull request #117721 from ionutbalutoiu/windows-tests/update-conn-check
windows-tests: Update connectivity check util function
This commit is contained in:
commit
d5329696c7
@ -102,6 +102,7 @@ var _ = SIGDescribe("Hybrid cluster network", func() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
warmUpDuration = "30s"
|
||||||
duration = "10s"
|
duration = "10s"
|
||||||
pollInterval = "1s"
|
pollInterval = "1s"
|
||||||
timeoutSeconds = 10
|
timeoutSeconds = 10
|
||||||
@ -117,7 +118,7 @@ func assertConsistentConnectivity(ctx context.Context, f *framework.Framework, p
|
|||||||
}
|
}
|
||||||
return err
|
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())
|
gomega.Consistently(ctx, connChecker, duration, pollInterval).ShouldNot(gomega.HaveOccurred())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user