diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-07-11 06:35:54 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-07-11 06:35:54 -0700 |
| commit | f2e8ad62411a2ca7633dfd6d8bb340c85f1b75b9 (patch) | |
| tree | 96583b7e679afeec803e89c7c7f54ea009996daf | |
| parent | 2d1df97933136af00da8bd1c0579efbf366659d9 (diff) | |
| download | seaweedfs-f2e8ad62411a2ca7633dfd6d8bb340c85f1b75b9.tar.xz seaweedfs-f2e8ad62411a2ca7633dfd6d8bb340c85f1b75b9.zip | |
refactoring
| -rw-r--r-- | test/data/sample.idx (renamed from test/sample.idx) | bin | 27140560 -> 27140560 bytes | |||
| -rw-r--r-- | weed/storage/needle_map/compact_map_perf_test.go | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/test/sample.idx b/test/data/sample.idx Binary files differindex 44918b41d..44918b41d 100644 --- a/test/sample.idx +++ b/test/data/sample.idx diff --git a/weed/storage/needle_map/compact_map_perf_test.go b/weed/storage/needle_map/compact_map_perf_test.go index 3a3648641..cce1f9490 100644 --- a/weed/storage/needle_map/compact_map_perf_test.go +++ b/weed/storage/needle_map/compact_map_perf_test.go @@ -32,7 +32,7 @@ func TestMemoryUsage(t *testing.T) { startTime := time.Now() for i := 0; i < 10; i++ { - indexFile, ie := os.OpenFile("../../../test/sample.idx", os.O_RDWR|os.O_RDONLY, 0644) + indexFile, ie := os.OpenFile("../../../test/data/sample.idx", os.O_RDWR|os.O_RDONLY, 0644) if ie != nil { log.Fatalln(ie) } |
