diff --git a/tests/test_framework/electrs.py b/tests/test_framework/electrs.py index ee8c6a518..4ea3e43c0 100644 --- a/tests/test_framework/electrs.py +++ b/tests/test_framework/electrs.py @@ -2,7 +2,7 @@ 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 @@ def __init__( def start(self): TailableProc.start(self) + self.wait_for_log("serving Electrum RPC", timeout=TIMEOUT) logging.info("Electrs started") def startup(self):