From 7d73bbb07399cc504ae2ebdcfdc164dc01295916 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9C=8D=E6=99=93=E6=A0=8B?= Date: Fri, 7 Oct 2016 16:40:51 +0800 Subject: [PATCH] comment UT case --- weed/storage/volume_vacuum_test.go | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/weed/storage/volume_vacuum_test.go b/weed/storage/volume_vacuum_test.go index 8ab59404d..c2fac6ce8 100644 --- a/weed/storage/volume_vacuum_test.go +++ b/weed/storage/volume_vacuum_test.go @@ -34,22 +34,22 @@ preparing test prerequisite easier ) 9. Now you should get updated file A,B,C */ -/* func TestMakeDiff(t *testing.T) { v := new(Volume) //lastCompactIndexOffset value is the index file size before step 4 v.lastCompactIndexOffset = 96 v.SuperBlock.version = 0x2 - err := v.makeupDiff( - "/yourpath/1.cpd", - "/yourpath/1.cpx", - "/yourpath/1.dat", - "/yourpath/1.idx") - if err != nil { - t.Errorf("makeupDiff err is %v", err) - } else { - t.Log("makeupDiff Succeeded") - } + /* + err := v.makeupDiff( + "/yourpath/1.cpd", + "/yourpath/1.cpx", + "/yourpath/1.dat", + "/yourpath/1.idx") + if err != nil { + t.Errorf("makeupDiff err is %v", err) + } else { + t.Log("makeupDiff Succeeded") + } + */ } -*/