test: Wait for transaction propagation in shorter_block_times RPC test
This was previously a transient test failure, that started reliably failing after the move to Poisson delays.
This commit is contained in:
parent
465c2492e7
commit
6be1a2a9da
|
@ -63,6 +63,7 @@ class ShorterBlockTimes(BitcoinTestFramework):
|
|||
myopid = self.nodes[0].z_sendmany(node0_taddr, recipients, 1, 0)
|
||||
txid = wait_and_assert_operationid_status(self.nodes[0], myopid)
|
||||
assert_equal(147, self.nodes[0].getrawtransaction(txid, 1)['expiryheight']) # height + 1 + 40
|
||||
self.sync_all() # Ensure the transaction has propagated to node 1
|
||||
self.nodes[1].generate(1)
|
||||
self.sync_all()
|
||||
assert_equal(20, Decimal(self.nodes[0].z_gettotalbalance()['private']))
|
||||
|
|
Loading…
Reference in New Issue