Skip to content

Commit

Permalink
Merge pull request kubernetes#77503 from mgdevstack/master-subdomain-e2e
Browse files Browse the repository at this point in the history
Add subdomain entry to verify dns resolution
  • Loading branch information
k8s-ci-robot authored May 14, 2019
2 parents 4430194 + 831939b commit 2926505
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/e2e/network/dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 2926505

Please sign in to comment.