From d836e44b4eb6aba11ea47f368e3c195883ae52e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1lli=20Zolt=C3=A1n?= Date: Mon, 19 Dec 2022 18:44:37 +0100 Subject: [PATCH] rebalance: fix test for multithreading --- rebalance/test_rebalance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rebalance/test_rebalance.py b/rebalance/test_rebalance.py index 78efc66..1c76095 100644 --- a/rebalance/test_rebalance.py +++ b/rebalance/test_rebalance.py @@ -124,7 +124,7 @@ def test_rebalance_all(node_factory, bitcoind): # check the rebalanceall starts result = l1.rpc.rebalanceall(feeratio=5.0) # we need high fees to work assert result['message'].startswith('Rebalance started') - l1.daemon.wait_for_logs([f"Try to rebalance: {scid12} -> {scid31}", + l1.daemon.wait_for_logs([f"tries to rebalance: {scid12} -> {scid31}", f"Automatic rebalance finished"]) # check additional calls to stop return 'nothing to stop' + last message