-
Notifications
You must be signed in to change notification settings - Fork 8
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
Noisy many "Tests skipped" when only some of the collections support the Features API, timeStamps #134
Comments
Thank you for the input. Can you provide a test service which is causing much noise/ is long running? |
@dstenger http://maps.ecere.com/ogcapi with noOfCollections = 5. org.testng.SkipException: Property timeStamp is not set in collection items 'NaturalEarth:cultural:ne_10m_admin_0_antarctic_claims' None of the collections have time stamps, and the raster collections don't support OGC API - Features. |
So in pseudo code, it would be.
|
@ghobona - Since this is the ETS for Features and not for, e.g., Records, also inspect the |
@keshav-nangare Can you please update the implementation regarding the proposed solutions? |
Added check to collect collection if the |
About FeatureCollections without timeStamp, could this "test skipped" appear only once maybe, if none of the collections have a |
2021-02-18 meeting @ghobona discussed the "test skipped" suggestion with @dstenger and @keshav-nangare , and there was agreement that there is need to maintain the current approach of testing the |
@ghobona To clarify, my suggestion was to test the |
Unfortunately, this issue was closed as the pull request connected to this issue was merged. @jerstlouis Can you please open a new issue if the skip behavior of the timeStamp tests shall be improved? |
In light of the resolution of the big Collections discussion ( opengeospatial/ogcapi-common#140 ), where some of the collections of a dataset could be accessible as Features, some as Coverages, and some as both, there should probably be an "early skip" without the noise for Collections not offering "items".
e.g. if I set a max number of collections to test to 5, the first 3 are raster collections without Features that cause "Skipping test" noise in the results.
In our OpenAPI definition this is actually properly reflected, but the test still gets noisy about these.
Similar comment for Feature collections without a timeStamp property -- not all collections would be temporal or expose times...
The text was updated successfully, but these errors were encountered: