diff --git a/storage/key_index_test.go b/storage/key_index_test.go index 6f82b5c59..d419d9328 100644 --- a/storage/key_index_test.go +++ b/storage/key_index_test.go @@ -291,6 +291,7 @@ func TestKeyIndexCompact(t *testing.T) { } } + ki = newTestKeyIndex() // Jump Compaction for i, tt := range tests { if (i%2 == 0 && i < 6) || (i%2 == 1 && i > 6) {