linz / gazetteer

New Zealand Gazetteer of official place names
http://www.linz.govt.nz/regulatory/place-names/find-name/new-zealand-gazetteer-official-geographic-names/new-zealand-gazetteer-search-place-names#zoom=0&lat=-41.14127&lon=172.5&layers=BTTT
Other
2 stars 2 forks source link

Fix admin interface tests #241

Closed billgeo closed 3 years ago

billgeo commented 3 years ago

Bug Description

These tests are mysteriously failing in CI

See tests here: https://github.com/linz/gazetteer/blob/master/src/NZGBplugin/tests/test_admin_interface.py

Steps to Reproduce

See failing in CI here: https://github.com/linz/gazetteer/actions/runs/527056317

Desktop

Screenshots

SPlanzer commented 3 years ago

to be clear (for my benefit) looking at the latest actions run the PG Tap tests are failing

 Test Summary Report
-------------------
/sql/test/schema/schema.sql                                     (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
/sql/test/schema/table_gazetteer.app_favourites.sql             (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
...
billgeo commented 3 years ago

I ended up removing the 'publish' test. It was hanging for some reason.

FYI - The PG Tap tests were failing because docker-down seems to cause issues. Removing that seems to fix it.