test: use sleepy wait-for-log in reindex readonly

Also rename the busy wait-for-log method to prevent recurrence
This commit is contained in:
Matthew Zipkin
2024-04-30 14:03:41 -04:00
parent 2d3056751b
commit fd6a7d3a13
3 changed files with 3 additions and 3 deletions

View File

@@ -490,7 +490,7 @@ class TestNode():
self._raise_assertion_error('Expected messages "{}" does not partially match log:\n\n{}\n\n'.format(str(expected_msgs), print_log))
@contextlib.contextmanager
def wait_for_debug_log(self, expected_msgs, timeout=60):
def busy_wait_for_debug_log(self, expected_msgs, timeout=60):
"""
Block until we see a particular debug log message fragment or until we exceed the timeout.
Return: