mirror of
https://github.com/docker/compose.git
synced 2025-07-28 08:04:09 +02:00
Merge pull request #835 from docker/e2e_GET_timeout
Fix e2e GET timeout, was *1000 twice
This commit is contained in:
commit
511df55a76
@ -216,8 +216,9 @@ func HTTPGetWithRetry(t *testing.T, endpoint string, expectedStatus int, retryDe
|
|||||||
err error
|
err error
|
||||||
)
|
)
|
||||||
client := &http.Client{
|
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 {
|
checkUp := func(t poll.LogT) poll.Result {
|
||||||
r, err = client.Get(endpoint)
|
r, err = client.Get(endpoint)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user