From fda291b87646872d2d0d88328969bd7536b17ecc Mon Sep 17 00:00:00 2001 From: vyzo Date: Mon, 14 Jun 2021 21:02:18 +0300 Subject: [PATCH] fix test --- blockstore/splitstore/splitstore_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/blockstore/splitstore/splitstore_test.go b/blockstore/splitstore/splitstore_test.go index 0fe298c6f..d842fe72a 100644 --- a/blockstore/splitstore/splitstore_test.go +++ b/blockstore/splitstore/splitstore_test.go @@ -132,8 +132,8 @@ func testSplitStore(t *testing.T, cfg *Config) { t.Errorf("expected %d blocks, but got %d", 2, coldCnt) } - if hotCnt != 5 { - t.Errorf("expected %d blocks, but got %d", 5, hotCnt) + if hotCnt != 6 { + t.Errorf("expected %d blocks, but got %d", 6, hotCnt) } // 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) } - if hotCnt != 5 { - t.Errorf("expected %d hot blocks, but got %d", 5, hotCnt) + if hotCnt != 6 { + t.Errorf("expected %d hot blocks, but got %d", 6, hotCnt) } // Make sure we can revert without panicking.