aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/volume_vacuum_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/storage/volume_vacuum_test.go')
-rw-r--r--weed/storage/volume_vacuum_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/volume_vacuum_test.go b/weed/storage/volume_vacuum_test.go
index 89fff4b2b..c9596d11d 100644
--- a/weed/storage/volume_vacuum_test.go
+++ b/weed/storage/volume_vacuum_test.go
@@ -129,7 +129,7 @@ func TestCompaction(t *testing.T) {
}
func doSomeWritesDeletes(i int, v *Volume, t *testing.T, infos []*needleInfo) {
n := newRandomNeedle(uint64(i))
- _, size, _, err := v.writeNeedle2(n, false)
+ _, size, _, err := v.writeNeedle2(n, true, false)
if err != nil {
t.Fatalf("write file %d: %v", i, err)
}