func test: check electrs has started

This commit is contained in:
Michael Mallan 2024-09-06 16:50:45 +01:00
parent 7612eda788
commit 537ebb2fb3
No known key found for this signature in database
GPG Key ID: 5177CDCEDB0EABEB

View File

@ -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):