test.py::test_watchtower - AssertionError: assert 'FUNDING_SPEND_SEEN' == 'ONCHAIN'
Closed this issue · 0 comments
sr-gi commented
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:
l1.daemon.wait_for_log("message_to_look_for")