tests: Wait for height before starting

This commit is contained in:
tecnovert committed 2022-11-14 15:01:48 +02:00
1 parent 8ec6d55963
commit d08e85e73e
4 files changed
+34 -5

No files matched your search

@@ -181,8 +181,7 @@ class Test(unittest.TestCase):
if particl_blocks >= num_blocks:
break
self.delay_event.wait(1)
logging.info('PART blocks: %d', callpartrpc(0, 'getblockchaininfo')['blocks'])
logging.info('PART blocks: %d', callpartrpc(0, 'getblockcount'))
assert particl_blocks >= num_blocks
@classmethod