mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 12:41:42 +00:00
Increased timeout in TCP port allocation test to pass on slower machines
This commit is contained in:
+1
-1
@@ -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