fix torba test_sync test reliability
This commit is contained in:
parent
9ce93a1da6
commit
21f02d3e6d
1 changed files with 6 additions and 0 deletions
|
@ -82,6 +82,12 @@ class SyncTests(IntegrationTestCase):
|
|||
account1.ledger.wait(tx),
|
||||
account2.ledger.wait(tx),
|
||||
])
|
||||
await self.blockchain.generate(1)
|
||||
await asyncio.wait([
|
||||
account0.ledger.wait(tx),
|
||||
account1.ledger.wait(tx),
|
||||
account2.ledger.wait(tx),
|
||||
])
|
||||
self.assertEqual(await account0.get_address_count(chain=0), 21)
|
||||
self.assertGreater(await account1.get_address_count(chain=1), 6)
|
||||
self.assertGreater(await account2.get_address_count(chain=1), 6)
|
||||
|
|
Loading…
Reference in a new issue