From cd6d3fec9c4726411f240f7ddf469fc7b7365170 Mon Sep 17 00:00:00 2001 From: Jonathan Moody <103143855+moodyjon@users.noreply.github.com> Date: Sat, 10 Sep 2022 11:17:47 -0500 Subject: [PATCH] Wait for initial sync in test_wallet_syncing_status(). --- tests/integration/blockchain/test_wallet_commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration/blockchain/test_wallet_commands.py b/tests/integration/blockchain/test_wallet_commands.py index 49de37a0c..35aaad4f8 100644 --- a/tests/integration/blockchain/test_wallet_commands.py +++ b/tests/integration/blockchain/test_wallet_commands.py @@ -22,6 +22,7 @@ class WalletCommands(CommandTestCase): async def test_wallet_syncing_status(self): address = await self.daemon.jsonrpc_address_unused() + await self.ledger._update_tasks.done.wait() self.assertFalse(self.daemon.jsonrpc_wallet_status()['is_syncing']) await self.send_to_address_and_wait(address, 1) await self.ledger._update_tasks.started.wait()