Remove hard-coded timeout in e2e tests
This commit is contained in:
parent
d9983cb387
commit
68bfbd939b
10 changed files with 5 additions and 72 deletions
|
|
@ -50,8 +50,6 @@ var _ = framework.IngressNginxDescribe("Shutdown ingress controller", func() {
|
|||
return Expect(server).Should(ContainSubstring("server_name shutdown"))
|
||||
})
|
||||
|
||||
time.Sleep(1 * time.Second)
|
||||
|
||||
resp, _, _ := gorequest.New().
|
||||
Get(f.GetURL(framework.HTTP)+"/sleep/1").
|
||||
Set("Host", host).
|
||||
|
|
@ -91,8 +89,6 @@ var _ = framework.IngressNginxDescribe("Shutdown ingress controller", func() {
|
|||
return Expect(server).Should(ContainSubstring("server_name shutdown"))
|
||||
})
|
||||
|
||||
time.Sleep(1 * time.Second)
|
||||
|
||||
result := make(chan *asyncResult)
|
||||
|
||||
startTime := time.Now()
|
||||
|
|
@ -152,8 +148,6 @@ var _ = framework.IngressNginxDescribe("Shutdown ingress controller", func() {
|
|||
return Expect(server).Should(ContainSubstring("server_name shutdown"))
|
||||
})
|
||||
|
||||
time.Sleep(1 * time.Second)
|
||||
|
||||
result := make(chan *asyncResult)
|
||||
|
||||
startTime := time.Now()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue