Merge pull request #111702 from flawedmatrix/fix-e2e-network-test-flake

Fix e2e network dns_configmap test
This commit is contained in:
Kubernetes Prow Robot 2022-08-04 17:25:46 -07:00 committed by GitHub
commit bd9444c1cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)