mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
Test flake: ignore dig failure; wait until timeout
The intent of this test was to continue trying until the timeout has been reached. The extra assertion makes the test fail early when it should not.
This commit is contained in:
parent
435268ac19
commit
5b2c0075ba
@ -200,10 +200,8 @@ func (t *dnsConfigMapTest) runDig(dnsName string) []string {
|
||||
CaptureStderr: true,
|
||||
})
|
||||
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
|
||||
framework.Logf("Running dig: %v, stdout: %q, stderr: %q",
|
||||
cmd, stdout, stderr)
|
||||
framework.Logf("Running dig: %v, stdout: %q, stderr: %q, err: %v",
|
||||
cmd, stdout, stderr, err)
|
||||
|
||||
if stdout == "" {
|
||||
return []string{}
|
||||
|
Loading…
Reference in New Issue
Block a user