Revert "tests: don't wait for lianad to log on shutdown"

This reverts commit 97abc4699c7343e4be6a0596a25481f9e07bb3bb.
This commit is contained in:
Antoine Poinsot 2023-08-22 16:44:22 +02:00
parent 77e46d5495
commit 7ecefdebdf
No known key found for this signature in database
GPG Key ID: E13FC145CD3F4304

View File

@ -127,6 +127,9 @@ class Lianad(TailableProc):
def stop(self, timeout=5):
try:
self.rpc.stop()
self.wait_for_log(
"Stopping the liana daemon.",
)
self.proc.wait(timeout)
except Exception as e:
logging.error(f"{self.prefix} : error when calling stop: '{e}'")