From 2aceac0a12113d68ecdd9c9bd01c9190110b4da1 Mon Sep 17 00:00:00 2001 From: Bartek Plotka Date: Tue, 13 Mar 2018 15:30:00 +0000 Subject: [PATCH] Fixed some comments. Signed-off-by: Bartek Plotka --- compact_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compact_test.go b/compact_test.go index c613d06c6..42e38b5c6 100644 --- a/compact_test.go +++ b/compact_test.go @@ -153,7 +153,7 @@ func TestNoPanicFor0Tombstones(t *testing.T) { } func TestLeveledCompactor_plan(t *testing.T) { - // This mimicks our default ExponentialBlockRanges with min block size 20. + // This mimicks our default ExponentialBlockRanges with min block size equals to 20. compactor, err := NewLeveledCompactor(nil, nil, []int64{ 20, 60, @@ -288,7 +288,7 @@ func TestLeveledCompactor_plan(t *testing.T) { }, expected: nil, }, - // Regression test: we were wrongly assuming that new block is fresh from WAL when it's ULID is newest. + // Regression test: we were wrongly assuming that new block is fresh from WAL when its ULID is newest. // We need to actually look on max time instead. // // With previous, wrong approach "8" block was ignored, so we were wrongly compacting 5 and 7 and introducing