Testing: check if pipeline gets stuck because of startup task (#745)

* lets check if this gets stuck with postgres or not

* check if it works if I add sleeps

* replace startup_ledger with await ledger._check_pending_proofs_and_melt_quotes() in tests

* fix typo to trigger tests again
This commit is contained in:
callebtc
2025-05-10 15:04:56 +02:00
committed by GitHub
parent 0d127f0477
commit 2135b96706
2 changed files with 23 additions and 29 deletions

View File

@@ -66,7 +66,13 @@ from .tasks import LedgerTasks
from .verification import LedgerVerification
class Ledger(LedgerVerification, LedgerSpendingConditions, LedgerTasks, LedgerFeatures, LedgerKeysets):
class Ledger(
LedgerVerification,
LedgerSpendingConditions,
LedgerTasks,
LedgerFeatures,
LedgerKeysets,
):
backends: Mapping[Method, Mapping[Unit, LightningBackend]] = {}
keysets: Dict[str, MintKeyset] = {}
events = LedgerEventManager()