Merge pull request #77503 from mgdevstack/master-subdomain-e2e

Add subdomain entry to verify dns resolution
This commit is contained in:
Kubernetes Prow Robot 2019-05-13 23:19:07 -07:00 committed by GitHub
commit 2926505fff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -274,7 +274,8 @@ var _ = SIGDescribe("DNS", func() {
}()
hostFQDN := fmt.Sprintf("%s.%s.%s.svc.%s", podHostname, serviceName, f.Namespace.Name, framework.TestContext.ClusterDNSDomain)
namesToResolve := []string{hostFQDN}
subdomain := fmt.Sprintf("%s.%s.svc.%s", serviceName, f.Namespace.Name, framework.TestContext.ClusterDNSDomain)
namesToResolve := []string{hostFQDN, subdomain}
wheezyProbeCmd, wheezyFileNames := createProbeCommand(namesToResolve, nil, "", "wheezy", f.Namespace.Name, framework.TestContext.ClusterDNSDomain)
jessieProbeCmd, jessieFileNames := createProbeCommand(namesToResolve, nil, "", "jessie", f.Namespace.Name, framework.TestContext.ClusterDNSDomain)
ginkgo.By("Running these commands on wheezy: " + wheezyProbeCmd + "\n")