[Tile-serving] [openstreetmap/osm2pgsql] test-parse-osmium: do not call osmdata.stop() (#1261)
Sarah Hoffmann
notifications at github.com
Fri Jul 31 21:47:23 UTC 2020
The test only checks the parsing stage and does not use a database at all. Calling stop() will try to open a database connection for
the postprocessing. This does odd things because the connection string has not been set up. We don't need stop() for the test, so just drop it and mark the test as NoDB.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/osm2pgsql/pull/1261
-- Commit Summary --
* test-parse-osmium: do not call osmdata.stop()
-- File Changes --
M tests/CMakeLists.txt (2)
M tests/common-import.hpp (7)
M tests/test-parse-osmium.cpp (6)
-- Patch Links --
https://github.com/openstreetmap/osm2pgsql/pull/1261.patch
https://github.com/openstreetmap/osm2pgsql/pull/1261.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1261
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200731/a428c083/attachment.htm>
More information about the Tile-serving
mailing list