Commit d11a3930 authored by Dr. Stefan Schimanski's avatar Dr. Stefan Schimanski

Remove race of ClusterDns e2e frontend test and starting pod

parent d4602bb9
...@@ -535,7 +535,13 @@ var _ = Describe("Examples e2e", func() { ...@@ -535,7 +535,13 @@ var _ = Describe("Examples e2e", func() {
for _, ns := range namespaces { for _, ns := range namespaces {
newKubectlCommand("create", "-f", "-", getNsCmdFlag(ns)).withStdinData(updatedPodYaml).exec() newKubectlCommand("create", "-f", "-", getNsCmdFlag(ns)).withStdinData(updatedPodYaml).exec()
} }
// remember that we cannot wait for the pods to be running because our pods terminate by themselves.
// wait until the pods have been scheduler, i.e. are not Pending anymore. Remember
// that we cannot wait for the pods to be running because our pods terminate by themselves.
for _, ns := range namespaces {
err := waitForPodNotPending(c, ns.Name, frontendPodName)
expectNoError(err)
}
// wait for pods to print their result // wait for pods to print their result
for _, ns := range namespaces { for _, ns := range namespaces {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment