Browse Source

Increase network timeout in test case

Rod Hynes 9 years ago
parent
commit
3e58e23d1d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      psiphon/server/server_test.go

+ 1 - 1
psiphon/server/server_test.go

@@ -534,7 +534,7 @@ func makeTunneledWebRequest(t *testing.T, localHTTPProxyPort int) error {
 func makeTunneledNTPRequest(t *testing.T, localSOCKSProxyPort int, udpgwServerAddress string) error {
 
 	testHostname := "pool.ntp.org"
-	timeout := 10 * time.Second
+	timeout := 20 * time.Second
 
 	localUDPProxyAddress, err := net.ResolveUDPAddr("udp", "127.0.0.1:7301")
 	if err != nil {