test: Fix TypeError in wait_for_debug_log

Traceback:

print_log = " - " + "\n - ".join(log.splitlines())
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: sequence item 0: expected str instance, bytes found
pull/27280/head
MarcoFalke 2 years ago
parent 50171df26c
commit 33337eb860
No known key found for this signature in database

@ -469,7 +469,7 @@ class TestNode():
return return
if time.time() >= time_end: if time.time() >= time_end:
print_log = " - " + "\n - ".join(log.splitlines()) print_log = " - " + "\n - ".join(log.decode("utf8", errors="replace").splitlines())
break break
# No sleep here because we want to detect the message fragment as fast as # No sleep here because we want to detect the message fragment as fast as

Loading…
Cancel
Save