mirror of
https://github.com/aljazceru/plugins.git
synced 2026-01-27 08:54:20 +01:00
rebalance: fix test for multithreading
This commit is contained in:
committed by
Michael Schmoock
parent
381707eaaf
commit
d836e44b4e
@@ -124,7 +124,7 @@ def test_rebalance_all(node_factory, bitcoind):
|
|||||||
# check the rebalanceall starts
|
# check the rebalanceall starts
|
||||||
result = l1.rpc.rebalanceall(feeratio=5.0) # we need high fees to work
|
result = l1.rpc.rebalanceall(feeratio=5.0) # we need high fees to work
|
||||||
assert result['message'].startswith('Rebalance started')
|
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"])
|
f"Automatic rebalance finished"])
|
||||||
|
|
||||||
# check additional calls to stop return 'nothing to stop' + last message
|
# check additional calls to stop return 'nothing to stop' + last message
|
||||||
|
|||||||
Reference in New Issue
Block a user