aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author霍晓栋 <huoxd@jiedaibao.com>2016-10-07 16:40:51 +0800
committer霍晓栋 <huoxd@jiedaibao.com>2016-10-07 16:40:51 +0800
commit7d73bbb07399cc504ae2ebdcfdc164dc01295916 (patch)
tree6a61f67775f8a739cadd15a7c3d91f752b2b69de
parent7d382ba5fec2539821047e81b4f9a8ce20af0331 (diff)
downloadseaweedfs-7d73bbb07399cc504ae2ebdcfdc164dc01295916.tar.xz
seaweedfs-7d73bbb07399cc504ae2ebdcfdc164dc01295916.zip
comment UT case
-rw-r--r--weed/storage/volume_vacuum_test.go24
1 files 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")
+ }
+ */
}
-*/