From eb067a9ba3f222b689297d3ab8534850ce10daf9 Mon Sep 17 00:00:00 2001 From: prateekgogia Date: Thu, 1 Jun 2017 16:07:40 +0000 Subject: [PATCH] Fixed e2e test flake - ClusterDns [Feature:Example] should create pod that uses dns --- test/e2e/example_cluster_dns.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/example_cluster_dns.go b/test/e2e/example_cluster_dns.go index ced2bbf5338..e2edf65d8a9 100644 --- a/test/e2e/example_cluster_dns.go +++ b/test/e2e/example_cluster_dns.go @@ -131,7 +131,7 @@ var _ = framework.KubeDescribe("ClusterDns [Feature:Example]", func() { _, err = framework.LookForStringInPodExec(namespaces[0].Name, podName, []string{"python", "-c", queryDns}, "ok", dnsReadyTimeout) Expect(err).NotTo(HaveOccurred(), "waiting for output from pod exec") - updatedPodYaml := prepareResourceWithReplacedString(frontendPodYaml, "dns-backend.development.cluster.local", fmt.Sprintf("dns-backend.%s.svc.cluster.local", namespaces[0].Name)) + updatedPodYaml := prepareResourceWithReplacedString(frontendPodYaml, "dns-backend.development.svc.cluster.local", fmt.Sprintf("dns-backend.%s.svc.cluster.local", namespaces[0].Name)) // create a pod in each namespace for _, ns := range namespaces {