mirror of https://github.com/k3s-io/k3s
Remove race of ClusterDns e2e frontend test and starting pod
parent
d4602bb909
commit
d11a3930c0
|
@ -535,7 +535,13 @@ var _ = Describe("Examples e2e", func() {
|
|||
for _, ns := range namespaces {
|
||||
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
|
||||
for _, ns := range namespaces {
|
||||
|
|
Loading…
Reference in New Issue