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

harden readers.stac tests #4386

Closed
hobu opened this issue Apr 10, 2024 · 1 comment
Closed

harden readers.stac tests #4386

hobu opened this issue Apr 10, 2024 · 1 comment
Assignees

Comments

@hobu
Copy link
Member

hobu commented Apr 10, 2024

Let's just ignore the test if the schema_validate_test can't access the schemas. It's also possible that schemas.stacspec.org has gone away.

2024-04-10T14:59:14.8005900Z 51: unknown file: Failure
2024-04-10T14:59:14.8012760Z 51: C++ exception with description "Could not read from schemas.stacspec.org/v1.0.0/item-spec/json-schema/item.json" thrown in the test body.
2024-04-10T14:59:14.8016800Z 51: [  FAILED  ] StacReaderTest.wrench_test (255975 ms)
2024-04-10T14:59:14.8018890Z 51: [ RUN      ] StacReaderTest.schema_validate_test
2024-04-10T15:03:30.6331790Z 51: unknown file: Failure
2024-04-10T15:03:30.6337310Z 51: C++ exception with description "Could not read from schemas.stacspec.org/v1.0.0/catalog-spec/json-schema/catalog.json" thrown in the test body.
2024-04-10T15:03:30.6342700Z 51: [  FAILED  ] StacReaderTest.schema_validate_test (255833 ms)
2024-04-10T15:03:30.6345900Z 51: [----------] 18 tests from StacReaderTest (529653 ms total)
2024-04-10T15:03:30.6348340Z 51: 
2024-04-10T15:03:30.6350310Z 51: [----------] Global test environment tear-down
2024-04-10T15:03:30.6352990Z 51: [==========] 18 tests from 1 test suite ran. (529653 ms total)
2024-04-10T15:03:30.6355140Z 51: [  PASSED  ] 16 tests.
2024-04-10T15:03:30.6356770Z 51: [  FAILED  ] 2 tests, listed below:
2024-04-10T15:03:30.6358890Z 51: [  FAILED  ] StacReaderTest.wrench_test
2024-04-10T15:03:30.6361290Z 51: [  FAILED  ] StacReaderTest.schema_validate_test
2024-04-10T15:03:30.6363350Z 51: 
2024-04-10T15:03:30.6364670Z 51:  2 FAILED TESTS
2024-04-10T15:03:30.6645000Z  51/147 Test  #51: pdal_io_stac_reader_test .....................***Failed  529.71 sec
2024-04-10T15:03:30.6653260Z test 52
@hobu
Copy link
Member Author

hobu commented May 30, 2024

We think this was #4404.

@hobu hobu closed this as completed May 30, 2024
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

2 participants