mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
TestDaemonDNSFallback: increase timeout to reduce flakiness
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
a23ca165c9
commit
87b8947580
1 changed files with 1 additions and 1 deletions
|
@ -31,5 +31,5 @@ func TestDaemonDNSFallback(t *testing.T) {
|
||||||
cid := container.Run(ctx, t, c, container.WithNetworkMode("test"), container.WithCmd("nslookup", "docker.com"))
|
cid := container.Run(ctx, t, c, container.WithNetworkMode("test"), container.WithCmd("nslookup", "docker.com"))
|
||||||
defer c.ContainerRemove(ctx, cid, types.ContainerRemoveOptions{Force: true})
|
defer c.ContainerRemove(ctx, cid, types.ContainerRemoveOptions{Force: true})
|
||||||
|
|
||||||
poll.WaitOn(t, container.IsSuccessful(ctx, c, cid), poll.WithDelay(100*time.Millisecond), poll.WithTimeout(2*time.Second))
|
poll.WaitOn(t, container.IsSuccessful(ctx, c, cid), poll.WithDelay(100*time.Millisecond), poll.WithTimeout(4*time.Second))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue