Browse Source

mvcc: increase rev for TestHashKVWhenCompacting

fanmin shi 8 years ago
parent
commit
df5a3d15ce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mvcc/kvstore_test.go

+ 1 - 1
mvcc/kvstore_test.go

@@ -522,7 +522,7 @@ func TestHashKVWhenCompacting(t *testing.T) {
 	s := NewStore(b, &lease.FakeLessor{}, nil)
 	defer os.Remove(tmpPath)
 
-	rev := 1000
+	rev := 10000
 	for i := 2; i <= rev; i++ {
 		s.Put([]byte("foo"), []byte(fmt.Sprintf("bar%d", i)), lease.NoLease)
 	}