diff options
| author | Chris Lu <chris.lu@gmail.com> | 2018-11-21 16:35:27 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2018-11-21 16:35:27 -0800 |
| commit | 99256100a0810a75a0eac0767e2fc3ae0d530423 (patch) | |
| tree | 793ead2d387aaca98a0ca3af99d974aab616dbbb | |
| parent | e5ad2223a1545354b3b658b799aff7abda3a585b (diff) | |
| download | seaweedfs-1.09.tar.xz seaweedfs-1.09.zip | |
fix tests1.09
| -rw-r--r-- | weed/filer2/filechunks_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/filer2/filechunks_test.go b/weed/filer2/filechunks_test.go index eadf4d27f..e886702ff 100644 --- a/weed/filer2/filechunks_test.go +++ b/weed/filer2/filechunks_test.go @@ -52,10 +52,10 @@ func TestCompactFileChunks2(t *testing.T) { compacted, garbage := CompactFileChunks(chunks) - if len(compacted) != 3 { + if len(compacted) != 4 { t.Fatalf("unexpected compacted: %d", len(compacted)) } - if len(garbage) != 9 { + if len(garbage) != 8 { t.Fatalf("unexpected garbage: %d", len(garbage)) } } |
