mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 18:00:08 +00:00
Merge pull request #69651 from justinsb/faster_dns_e2e
e2e: speed up DNS tests
This commit is contained in:
commit
cdf264cab5
@ -495,7 +495,7 @@ func assertFilesExist(fileNames []string, fileDir string, pod *v1.Pod, client cl
|
|||||||
func assertFilesContain(fileNames []string, fileDir string, pod *v1.Pod, client clientset.Interface, check bool, expected string) {
|
func assertFilesContain(fileNames []string, fileDir string, pod *v1.Pod, client clientset.Interface, check bool, expected string) {
|
||||||
var failed []string
|
var failed []string
|
||||||
|
|
||||||
framework.ExpectNoError(wait.Poll(time.Second*10, time.Second*600, func() (bool, error) {
|
framework.ExpectNoError(wait.PollImmediate(time.Second*5, time.Second*600, func() (bool, error) {
|
||||||
failed = []string{}
|
failed = []string{}
|
||||||
|
|
||||||
ctx, cancel := context.WithTimeout(context.Background(), framework.SingleCallTimeout)
|
ctx, cancel := context.WithTimeout(context.Background(), framework.SingleCallTimeout)
|
||||||
|
Loading…
Reference in New Issue
Block a user