Wait before any request to the ingress controller pod

This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-04-28 18:40:20 -04:00
parent 4179f71cc4
commit b18ea267a8
2 changed files with 5 additions and 0 deletions

View file

@ -110,6 +110,9 @@ func (f *Framework) BeforeEach() {
LabelSelector: "app.kubernetes.io/name=ingress-nginx",
})
assert.Nil(ginkgo.GinkgoT(), err, "waiting for ingress pods to be ready")
// wait before any request
time.Sleep(5 * time.Second)
}
// AfterEach deletes the namespace, after reading its events.