Commit 5b2c0075 authored by Bowei Du's avatar Bowei Du

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.
parent 435268ac
......@@ -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{}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment