From abc1c352c916f5cdf7ae3a308caafe80b7c95c09 Mon Sep 17 00:00:00 2001 From: Sean Bowe Date: Fri, 8 Apr 2016 11:30:33 -0600 Subject: [PATCH] Add missing synchronization that causes race condition in test. --- qa/rpc-tests/rawtransactions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qa/rpc-tests/rawtransactions.py b/qa/rpc-tests/rawtransactions.py index 1378514c8..173faf736 100755 --- a/qa/rpc-tests/rawtransactions.py +++ b/qa/rpc-tests/rawtransactions.py @@ -40,6 +40,7 @@ class RawTransactionsTest(BitcoinTestFramework): #prepare some coins for multiple *rawtransaction commands self.nodes[2].generate(1) + self.sync_all() self.nodes[0].generate(101) self.sync_all() self.nodes[0].sendtoaddress(self.nodes[2].getnewaddress(),1.5);