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:
Bowei Du 2016-11-21 11:37:21 -08:00
parent 435268ac19
commit 5b2c0075ba

View File

@ -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{}