mirror of https://github.com/docker/compose.git
Fix e2e GET timeout, was *1000 twice :facepalm
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
This commit is contained in:
parent
1ecfa703f5
commit
7490584a41
|
@ -216,8 +216,9 @@ func HTTPGetWithRetry(t *testing.T, endpoint string, expectedStatus int, retryDe
|
|||
err error
|
||||
)
|
||||
client := &http.Client{
|
||||
Timeout: retryDelay * time.Second,
|
||||
Timeout: retryDelay,
|
||||
}
|
||||
fmt.Printf(" [%s] GET %s\n", t.Name(), endpoint)
|
||||
checkUp := func(t poll.LogT) poll.Result {
|
||||
r, err = client.Get(endpoint)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue