Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test relations paths #10

Open
thisisaaronland opened this issue May 6, 2022 · 0 comments
Open

Fix test relations paths #10

thisisaaronland opened this issue May 6, 2022 · 0 comments
Assignees

Comments

@thisisaaronland
Copy link
Member

Test relations are stored as bz2-encoded files but the reader doesn't check for {URI}.bz2

> go test -v ./...
=== RUN   TestIndexFeatures
2022/05/06 15:42:17 Failed to read '102/191/575/102191575.geojson' because 'Failed to stat /usr/local/whosonfirst/go-whosonfirst-sqlite-features-index/fixtures/relations/102/191/575/102191575.geojson, stat /usr/local/whosonfirst/go-whosonfirst-sqlite-features-index/fixtures/relations/102/191/575/102191575.geojson: no such file or directory'. Strict mode is disabled so skipping
2022/05/06 15:42:17 Failed to read '856/330/41/85633041.geojson' because 'Failed to stat /usr/local/whosonfirst/go-whosonfirst-sqlite-features-index/fixtures/relations/856/330/41/85633041.geojson, stat /usr/local/whosonfirst/go-whosonfirst-sqlite-features-index/fixtures/relations/856/330/41/85633041.geojson: no such file or directory'. Strict mode is disabled so skipping
2022/05/06 15:42:17 Failed to read '136/251/273/136251273.geojson' because 'Failed to stat /usr/local/whosonfirst/go-whosonfirst-sqlite-features-index/fixtures/relations/136/251/273/136251273.geojson, stat /usr/local/whosonfirst/go-whosonfirst-sqlite-features-index/fixtures/relations/136/251/273/136251273.geojson: no such file or directory'. Strict mode is disabled so skipping
2022/05/06 15:42:17 Failed to read '890/458/661/890458661.geojson' because 'Failed to stat /usr/local/whosonfirst/go-whosonfirst-sqlite-features-index/fixtures/relations/890/458/661/890458661.geojson, stat /usr/local/whosonfirst/go-whosonfirst-sqlite-features-index/fixtures/relations/890/458/661/890458661.geojson: no such file or directory'. Strict mode is disabled so skipping
2022/05/06 15:42:17 time to index paths (1) 21.594868ms
--- PASS: TestIndexFeatures (0.02s)
@thisisaaronland thisisaaronland self-assigned this May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant