Skip to content

Commit

Permalink
qa: Fix wallet_listreceivedby race
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoFalke committed May 23, 2018
1 parent d792e47 commit fa865ef
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions test/functional/wallet_listreceivedby.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@
from decimal import Decimal

from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import (assert_array_result,
assert_equal,
assert_raises_rpc_error,
)
from test_framework.util import (
assert_array_result,
assert_equal,
assert_raises_rpc_error,
sync_blocks,
)


class ReceivedByTest(BitcoinTestFramework):
def set_test_params(self):
Expand All @@ -18,6 +21,7 @@ def set_test_params(self):
def run_test(self):
# Generate block to get out of IBD
self.nodes[0].generate(1)
sync_blocks(self.nodes)

self.log.info("listreceivedbyaddress Test")

Expand Down

0 comments on commit fa865ef

Please sign in to comment.