Browse Source

refactoring

pull/1388/head
Chris Lu 5 years ago
parent
commit
f2e8ad6241
  1. 0
      test/data/sample.idx
  2. 2
      weed/storage/needle_map/compact_map_perf_test.go

0
test/sample.idx → test/data/sample.idx

2
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)
}

Loading…
Cancel
Save