diff --git a/blockstore/splitstore/splitstore_test.go b/blockstore/splitstore/splitstore_test.go index d842fe72a..a4b8ba766 100644 --- a/blockstore/splitstore/splitstore_test.go +++ b/blockstore/splitstore/splitstore_test.go @@ -21,7 +21,6 @@ import ( func init() { CompactionThreshold = 5 - CompactionCold = 1 CompactionBoundary = 2 logging.SetLogLevel("splitstore", "DEBUG") } @@ -145,12 +144,12 @@ func testSplitStore(t *testing.T, cfg *Config) { coldCnt = countBlocks(cold) hotCnt = countBlocks(hot) - if coldCnt != 7 { - t.Errorf("expected %d cold blocks, but got %d", 7, coldCnt) + if coldCnt != 8 { + t.Errorf("expected %d cold blocks, but got %d", 8, coldCnt) } - if hotCnt != 6 { - t.Errorf("expected %d hot blocks, but got %d", 6, hotCnt) + if hotCnt != 5 { + t.Errorf("expected %d hot blocks, but got %d", 5, hotCnt) } // Make sure we can revert without panicking.