Remove hard-coded timeout in e2e tests

This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-01-26 21:01:52 -03:00
parent d9983cb387
commit 68bfbd939b
10 changed files with 5 additions and 72 deletions

View file

@ -20,7 +20,6 @@ import (
"fmt"
"regexp"
"strings"
"time"
"github.com/parnurzeal/gorequest"
@ -47,7 +46,6 @@ var _ = framework.IngressNginxDescribe("Load Balance - EWMA", func() {
func(server string) bool {
return strings.Contains(server, "server_name load-balance.com")
})
time.Sleep(waitForLuaSync)
algorithm, err := f.GetLbAlgorithm(framework.EchoService, 80)
Expect(err).Should(BeNil())