Skip to content

Commit c6c21fb

Browse files
committed
test: wait for GUI RPC before loading wallets
1 parent 731c327 commit c6c21fb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/functional/qml_test_wallet_settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ def wait_for_wallet_ready(harness, gui):
133133

134134

135135
def load_wallet(gui, harness, wallet_name):
136+
wait_for_rpc(harness.gui_rpc_port, timeout=60)
136137
rpc_call(harness.gui_rpc_port, "loadwallet", [wallet_name])
137138
wait_for_wallet_ready(harness, gui)
138139
gui.wait_for_property("walletBadge", "noWalletLoaded", False, timeout_ms=5000)

0 commit comments

Comments
 (0)