浏览代码

Increased timeout in TCP port allocation test to pass on slower machines

Solomon Hykes 12 年之前
父节点
当前提交
73da7a12e7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      runtime_test.go

+ 1 - 1
runtime_test.go

@@ -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"],