fix test
This commit is contained in:
parent
d33a44e67f
commit
fda291b876
@ -132,8 +132,8 @@ func testSplitStore(t *testing.T, cfg *Config) {
|
|||||||
t.Errorf("expected %d blocks, but got %d", 2, coldCnt)
|
t.Errorf("expected %d blocks, but got %d", 2, coldCnt)
|
||||||
}
|
}
|
||||||
|
|
||||||
if hotCnt != 5 {
|
if hotCnt != 6 {
|
||||||
t.Errorf("expected %d blocks, but got %d", 5, hotCnt)
|
t.Errorf("expected %d blocks, but got %d", 6, hotCnt)
|
||||||
}
|
}
|
||||||
|
|
||||||
// trigger a compaction
|
// trigger a compaction
|
||||||
@ -149,8 +149,8 @@ func testSplitStore(t *testing.T, cfg *Config) {
|
|||||||
t.Errorf("expected %d cold blocks, but got %d", 7, coldCnt)
|
t.Errorf("expected %d cold blocks, but got %d", 7, coldCnt)
|
||||||
}
|
}
|
||||||
|
|
||||||
if hotCnt != 5 {
|
if hotCnt != 6 {
|
||||||
t.Errorf("expected %d hot blocks, but got %d", 5, hotCnt)
|
t.Errorf("expected %d hot blocks, but got %d", 6, hotCnt)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make sure we can revert without panicking.
|
// Make sure we can revert without panicking.
|
||||||
|
Loading…
Reference in New Issue
Block a user