aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/idx_binary_search_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/storage/idx_binary_search_test.go')
-rw-r--r--weed/storage/idx_binary_search_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/idx_binary_search_test.go b/weed/storage/idx_binary_search_test.go
index 0f26cdd02..e04185bcd 100644
--- a/weed/storage/idx_binary_search_test.go
+++ b/weed/storage/idx_binary_search_test.go
@@ -14,7 +14,7 @@ import (
func TestFirstInvalidIndex(t *testing.T) {
dir := t.TempDir()
- v, err := NewVolume(dir, dir, "", 1, NeedleMapInMemory, &super_block.ReplicaPlacement{}, &needle.TTL{}, 0, 0, 0)
+ v, err := NewVolume(dir, dir, "", 1, NeedleMapInMemory, &super_block.ReplicaPlacement{}, &needle.TTL{}, 0, needle.GetCurrentVersion(), 0, 0)
if err != nil {
t.Fatalf("volume creation: %v", err)
}