benoitdm-oslandia / pg_featureserv

Apache License 2.0
1 stars 0 forks source link

Bug - TestGetFormatHandlingSuffix randomly fails #164

Closed azarz closed 1 year ago

azarz commented 1 year ago

The test named TestGetFormatHandlingSuffix randomly fails at the following assertion:

checkRouteResponseFormat(t, "/collections/mock_a/items/20?limit=100", api.ContentTypeGeoJSON)

With following error:

handler returned wrong status code for url '/collections/mock_a/items/20?limit=100'. Caused by: Error: Feature not found: 20 expected: 200; got: 404

Relaunching the test solves the issue