mvcc: increase rev for TestHashKVWhenCompacting

release-3.3
fanmin shi 2017-07-28 16:49:09 -07:00
parent bb86c327e2
commit df5a3d15ce
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}