Explorar o código

Merge pull request #3808 from yichengq/fix-wait-test

pkg/wait: extend wait timeout in TestWaitTime
Yicheng Qin %!s(int64=10) %!d(string=hai) anos
pai
achega
33fe6f41fb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pkg/wait/wait_time_test.go

+ 1 - 1
pkg/wait/wait_time_test.go

@@ -42,7 +42,7 @@ func TestWaitTime(t *testing.T) {
 	wt.Trigger(t1)
 	select {
 	case <-ch1:
-	case <-time.After(10 * time.Millisecond):
+	case <-time.After(100 * time.Millisecond):
 		t.Fatalf("cannot receive from ch as expected")
 	}