diff --git a/tests/test_framework/electrs.py b/tests/test_framework/electrs.py index ee8c6a51..2c32b88f 100644 --- a/tests/test_framework/electrs.py +++ b/tests/test_framework/electrs.py @@ -2,7 +2,7 @@ import logging import os from ephemeral_port_reserve import reserve -from test_framework.utils import BitcoinBackend, TailableProc, ELECTRS_PATH +from test_framework.utils import BitcoinBackend, TailableProc, ELECTRS_PATH, TIMEOUT class Electrs(BitcoinBackend): @@ -54,6 +54,7 @@ class Electrs(BitcoinBackend): def start(self): TailableProc.start(self) + self.wait_for_log("auto-compactions enabled", timeout=TIMEOUT) logging.info("Electrs started") def startup(self):