Browse Source

Merge pull request #2061 from dotcloud/1948-test-detach

testing, issue #1948: Increase TestRunDetach timeout
Daniel Mizyrycki 11 years ago
parent
commit
c18e849451
1 changed files with 2 additions and 2 deletions
  1. 2 2
      commands_test.go

+ 2 - 2
commands_test.go

@@ -400,7 +400,7 @@ func TestRunDetach(t *testing.T) {
 	})
 	})
 
 
 	// wait for CmdRun to return
 	// wait for CmdRun to return
-	setTimeout(t, "Waiting for CmdRun timed out", 5*time.Second, func() {
+	setTimeout(t, "Waiting for CmdRun timed out", 15*time.Second, func() {
 		<-ch
 		<-ch
 	})
 	})
 
 
@@ -458,7 +458,7 @@ func TestAttachDetach(t *testing.T) {
 	})
 	})
 
 
 	// wait for CmdRun to return
 	// wait for CmdRun to return
-	setTimeout(t, "Waiting for CmdAttach timed out", 5*time.Second, func() {
+	setTimeout(t, "Waiting for CmdAttach timed out", 15*time.Second, func() {
 		<-ch
 		<-ch
 	})
 	})