Explorar el Código

Merge pull request #3420 from yichengq/wait-more

storage: extend timeout to wait for put complete
Yicheng Qin hace 11 años
padre
commit
85b6c51a23
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      storage/kv_test.go

+ 1 - 1
storage/kv_test.go

@@ -430,7 +430,7 @@ func TestKVTxnBlockNonTnxOperations(t *testing.T) {
 		s.TxnEnd(id)
 		select {
 		case <-done:
-		case <-time.After(10 * time.Millisecond):
+		case <-time.After(100 * time.Millisecond):
 			t.Fatalf("#%d: operation failed to be unblocked", i)
 		}
 	}