mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Increased timeout in TCP port allocation test to pass on slower machines
This commit is contained in:
parent
50f5723f1d
commit
73da7a12e7
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ func TestAllocatePortLocalhost(t *testing.T) {
|
|||
t.Fatal(err)
|
||||
}
|
||||
defer container.Kill()
|
||||
time.Sleep(300 * time.Millisecond) // Wait for the container to run
|
||||
time.Sleep(600 * time.Millisecond) // Wait for the container to run
|
||||
conn, err := net.Dial("tcp",
|
||||
fmt.Sprintf(
|
||||
"localhost:%s", container.NetworkSettings.PortMapping["5555"],
|
||||
|
|
Loading…
Add table
Reference in a new issue