Ver Fonte

testing, issue #1948: Increase TestAttachDetach and TestRunDetach timeout

Daniel Mizyrycki há 11 anos atrás
pai
commit
135c1fce90
1 ficheiros alterados com 2 adições e 2 exclusões
  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
-	setTimeout(t, "Waiting for CmdRun timed out", 5*time.Second, func() {
+	setTimeout(t, "Waiting for CmdRun timed out", 15*time.Second, func() {
 		<-ch
 	})
 
@@ -458,7 +458,7 @@ func TestAttachDetach(t *testing.T) {
 	})
 
 	// 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
 	})