Increased timeout in TCP port allocation test to pass on slower machines
Upstream-commit: 73da7a12e7d6846a12571e6eac1f16502219c9d4 Component: engine
This commit is contained in:
@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user