<p>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<br>
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.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/osm2pgsql/pull/1261'>https://github.com/openstreetmap/osm2pgsql/pull/1261</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>test-parse-osmium: do not call osmdata.stop()</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/osm2pgsql/pull/1261/files#diff-3dea97423f83302e647a3bab62bf1157">tests/CMakeLists.txt</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/osm2pgsql/pull/1261/files#diff-4b779229f9f4cf8aa974a426de0dbed2">tests/common-import.hpp</a>
    (7)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/osm2pgsql/pull/1261/files#diff-b3a2824fcd545a1671d10c545a9fcc02">tests/test-parse-osmium.cpp</a>
    (6)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/osm2pgsql/pull/1261.patch'>https://github.com/openstreetmap/osm2pgsql/pull/1261.patch</a></li>
  <li><a href='https://github.com/openstreetmap/osm2pgsql/pull/1261.diff'>https://github.com/openstreetmap/osm2pgsql/pull/1261.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/pull/1261">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353WNNVC2TZDMPGECRH3R6M3WXANCNFSM4PQ6M6GQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353X3K6FWEYIVTTNAUODR6M3WXA5CNFSM4PQ6M6G2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4J7TOAEA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/pull/1261",
"url": "https://github.com/openstreetmap/osm2pgsql/pull/1261",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>