Fix flaky e2e test

This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-08-20 07:39:13 -04:00
parent 4ad97afdb3
commit 3d163e585a

View file

@ -101,6 +101,10 @@ var _ = framework.DescribeSetting("[Security] global-auth-url", func() {
ginkgo.By("Adding a no-auth-locations for /bar to configMap") ginkgo.By("Adding a no-auth-locations for /bar to configMap")
f.UpdateNginxConfigMapData(noAuthSetting, noAuthLocations) f.UpdateNginxConfigMapData(noAuthSetting, noAuthLocations)
f.WaitForNginxServer(host,
func(server string) bool {
return strings.Contains(server, noAuthLocations)
})
ginkgo.By("Sending a request to protected service /foo") ginkgo.By("Sending a request to protected service /foo")
f.HTTPTestClient(). f.HTTPTestClient().