mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
Merge pull request #111702 from flawedmatrix/fix-e2e-network-test-flake
Fix e2e network dns_configmap test
This commit is contained in:
commit
bd9444c1cf
@ -298,7 +298,7 @@ func (t *dnsExternalNameTest) run(isIPv6 bool) {
|
|||||||
t.checkDNSRecordFrom(
|
t.checkDNSRecordFrom(
|
||||||
fmt.Sprintf("%s.%s.svc.%s", serviceNameLocal, f.Namespace.Name, framework.TestContext.ClusterDNSDomain),
|
fmt.Sprintf("%s.%s.svc.%s", serviceNameLocal, f.Namespace.Name, framework.TestContext.ClusterDNSDomain),
|
||||||
func(actual []string) bool {
|
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",
|
"cluster-dns-ipv6",
|
||||||
moreForeverTestTimeout)
|
moreForeverTestTimeout)
|
||||||
|
Loading…
Reference in New Issue
Block a user