diff --git a/qa/pull-tester/rpc-tests.sh b/qa/pull-tester/rpc-tests.sh index b9a15ba00..8d753d596 100755 --- a/qa/pull-tester/rpc-tests.sh +++ b/qa/pull-tester/rpc-tests.sh @@ -11,6 +11,7 @@ export BITCOIND=${REAL_BITCOIND} #Run the tests testScripts=( + 'dpow.py' 'paymentdisclosure.py' 'prioritisetransaction.py' 'wallet_treestate.py' diff --git a/qa/rpc-tests/dpow.py b/qa/rpc-tests/dpow.py index 9cc146adf..c9247f404 100755 --- a/qa/rpc-tests/dpow.py +++ b/qa/rpc-tests/dpow.py @@ -18,6 +18,7 @@ class DPoWTest(BitcoinTestFramework): self.nodes = [] self.is_network_split = False self.nodes.append(start_node(0, self.options.tmpdir)) + self.sync_all() def run_test(self): self.nodes[0].generate(3) @@ -27,5 +28,8 @@ class DPoWTest(BitcoinTestFramework): result = rpc.calc_MoM(2,20) print result + result = rpc.getinfo() + assert result.notarized,42 + if __name__ == '__main__': DPoWTest().main()