From 5b2c0075badf5700aa978d3d5d912b0686f8f1d3 Mon Sep 17 00:00:00 2001 From: Bowei Du Date: Mon, 21 Nov 2016 11:37:21 -0800 Subject: [PATCH] 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. --- test/e2e/dns_configmap.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/e2e/dns_configmap.go b/test/e2e/dns_configmap.go index 80e960d8e68..192e57a385c 100644 --- a/test/e2e/dns_configmap.go +++ b/test/e2e/dns_configmap.go @@ -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{}