Merge pull request #1239 from yuce/1090-testdata-for-fragment-benchmarks

[TRIVIAL] Adds fragment test data, implements #1090
This commit is contained in:
Yuce Tekol 2018-05-11 17:48:07 +03:00 committed by GitHub
commit ec10e74c85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -30,7 +30,9 @@ import (
// Test flags
var (
FragmentPath = flag.String("fragment", "", "fragment path")
// In order to generate the sample fragment file,
// run an import and copy PILOSA_DATA_DIR/INDEX_NAME/FRAME_NAME/0 to testdata/sample_view
FragmentPath = flag.String("fragment", "testdata/sample_view/0", "fragment path")
)
// SliceWidth is a helper reference to use when testing.

BIN
testdata/sample_view/0 vendored Normal file

Binary file not shown.