diff --git a/test/e2e/network/dns_configmap.go b/test/e2e/network/dns_configmap.go index a1293d7034c..d1a45c3f3aa 100644 --- a/test/e2e/network/dns_configmap.go +++ b/test/e2e/network/dns_configmap.go @@ -298,7 +298,7 @@ func (t *dnsExternalNameTest) run(isIPv6 bool) { t.checkDNSRecordFrom( fmt.Sprintf("%s.%s.svc.%s", serviceNameLocal, f.Namespace.Name, framework.TestContext.ClusterDNSDomain), func(actual []string) bool { - return len(actual) >= 1 && actual[0] == fooHostname+"." && actual[1] == "2001:db8::29" + return len(actual) >= 2 && actual[0] == fooHostname+"." && actual[1] == "2001:db8::29" }, "cluster-dns-ipv6", moreForeverTestTimeout)