aboutsummaryrefslogtreecommitdiff
path: root/weed/filer2/filechunks_test.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-11-18 11:51:38 -0800
committerChris Lu <chris.lu@gmail.com>2018-11-18 11:51:38 -0800
commit4fcfc9410fd407165d7bb1c047bcd21e5b2b7dde (patch)
treefabdbc2da727e125ec354f5f6f8de2f7589e5bb0 /weed/filer2/filechunks_test.go
parent9655dc9ca95312d578d60e71d839a6b9971a7bea (diff)
downloadseaweedfs-4fcfc9410fd407165d7bb1c047bcd21e5b2b7dde.tar.xz
seaweedfs-4fcfc9410fd407165d7bb1c047bcd21e5b2b7dde.zip
cleanup
Diffstat (limited to 'weed/filer2/filechunks_test.go')
-rw-r--r--weed/filer2/filechunks_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/weed/filer2/filechunks_test.go b/weed/filer2/filechunks_test.go
index 90aa3df36..1b124981f 100644
--- a/weed/filer2/filechunks_test.go
+++ b/weed/filer2/filechunks_test.go
@@ -161,6 +161,9 @@ func TestIntervalMerging(t *testing.T) {
if len(intervals) != len(testcase.Expected) {
t.Fatalf("failed to compact test case %d, len %d expected %d", i, len(intervals), len(testcase.Expected))
}
+
+ cleanupIntervals(intervals)
+
}
}