diff options
| -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) } |
