Every now and then test.py::test_watchtower fails with AssertionError: assert 'FUNDING_SPEND_SEEN' == 'ONCHAIN'.
This may be due to the check happening too quickly, so the state may have not yet changed. Add either a longer wait or use the logs to parse the proper message before checking. e.g:
Every now and then
test.py::test_watchtower
fails withAssertionError: assert 'FUNDING_SPEND_SEEN' == 'ONCHAIN'
.This may be due to the check happening too quickly, so the state may have not yet changed. Add either a longer wait or use the logs to parse the proper message before checking. e.g: