mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-23 02:47:57 +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:
@@ -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{}
|
||||
|
Reference in New Issue
Block a user