aboutsummaryrefslogtreecommitdiff
path: root/test/functional/rpc_setban.py
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2019-08-20 14:31:00 +0200
committerJonas Schnelli <dev@jonasschnelli.ch>2019-08-21 14:18:40 +0200
commit6011c9d72d1df5c2cd09de6f85c21eb4f7eb1ba8 (patch)
treee56dbef9314a39a2a31c72e5767bc9538ee8f956 /test/functional/rpc_setban.py
parente00ecb3d7aaee463643e486ca03c318e192b8058 (diff)
QA: fix rpc_setban.py race
Diffstat (limited to 'test/functional/rpc_setban.py')
-rwxr-xr-xtest/functional/rpc_setban.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/rpc_setban.py b/test/functional/rpc_setban.py
index a1a8196557..423741fd27 100755
--- a/test/functional/rpc_setban.py
+++ b/test/functional/rpc_setban.py
@@ -26,7 +26,7 @@ class SetBanTests(BitcoinTestFramework):
self.nodes[1].setban("127.0.0.1", "add")
# Node 0 should not be able to reconnect
- with self.nodes[1].assert_debug_log(expected_msgs=['dropped (banned)\n']):
+ with self.nodes[1].assert_debug_log(expected_msgs=['dropped (banned)\n'],timeout=5):
self.restart_node(1, [])
self.nodes[0].addnode("127.0.0.1:" + str(p2p_port(1)), "onetry")