Merge pull request #37235 from bowei/flake-37114

Automatic merge from submit-queue

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.

https://github.com/kubernetes/kubernetes/issues/37144

fix 37114
This commit is contained in:
Kubernetes Submit Queue
2016-11-21 23:34:21 -08:00
committed by GitHub

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