In the healthcheck() function in waiverdb/app.py, we find the following code: assert result == 1. Unfortunately, assert statements get dropped when compiled to optimized bytecode, in which case that check would be gone.
assert result == 1
Thanks for reporting. This reminds me to fix this issue as we've already found it in Greenwave, :-)
This seems to be fixed in https://pagure.io/waiverdb/c/fee975a4?branch=master. Grep also says there is no "assert" in current waiverdb code. Feel free to reopen if you think there is some need for further fix.
:+1:
Metadata Update from @ralph: - Issue status updated to: Closed (was: Open)
Yep @mjia fixed this in #70 :-)
Metadata Update from @dcallagh: - Issue assigned to mjia - Issue close_status updated to: Fixed - Issue set to the milestone: 0.3