planetfederal / registry

pycsw + elasticsearch + opensearch + swagger - Based on HHyperMap
MIT License
11 stars 9 forks source link

Test suite optimization / return 404 for catalog not found #54

Closed JorgeMartinezG closed 7 years ago

JorgeMartinezG commented 7 years ago

This pull requests enables registry to execute its test suite faster. Previously, registry was creating and deleting records and indexing into elasticsearch for each test. With this pr, two transactions are executed.Tests time were reduced from ~ 2 min to ~ 1 min.

Also, the status code was modified for not existent catalogs when deleting from 200 to 404

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 99.63% when pulling 6883b2fcda06f7811a2b7b17a4b13c07fa26f013 on JorgeMartinezG:master into 73e092a1917e2032aa161c671f7a3a301f8e110b on boundlessgeo:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 99.63% when pulling 6883b2fcda06f7811a2b7b17a4b13c07fa26f013 on JorgeMartinezG:master into 73e092a1917e2032aa161c671f7a3a301f8e110b on boundlessgeo:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 99.63% when pulling b20cef0dad66ea116c66d3101b2ba29cc8df67d6 on JorgeMartinezG:master into 73e092a1917e2032aa161c671f7a3a301f8e110b on boundlessgeo:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 99.63% when pulling b20cef0dad66ea116c66d3101b2ba29cc8df67d6 on JorgeMartinezG:master into 73e092a1917e2032aa161c671f7a3a301f8e110b on boundlessgeo:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 99.63% when pulling d214f6d9794d4d52190b7c042c04b5336588e66a on JorgeMartinezG:master into 73e092a1917e2032aa161c671f7a3a301f8e110b on boundlessgeo:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 99.63% when pulling 25dd4dd38a09d370b013a0c85bcd382fe30404e4 on JorgeMartinezG:master into 73e092a1917e2032aa161c671f7a3a301f8e110b on boundlessgeo:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 99.63% when pulling 25dd4dd38a09d370b013a0c85bcd382fe30404e4 on JorgeMartinezG:master into 73e092a1917e2032aa161c671f7a3a301f8e110b on boundlessgeo:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 99.63% when pulling 25dd4dd38a09d370b013a0c85bcd382fe30404e4 on JorgeMartinezG:master into 73e092a1917e2032aa161c671f7a3a301f8e110b on boundlessgeo:master.