diff options
author | Seleme Topuz <seleme94@hotmail.com> | 2020-08-17 17:50:47 +0200 |
---|---|---|
committer | Seleme Topuz <seleme94@hotmail.com> | 2020-08-26 18:01:59 +0200 |
commit | 1343c86c7cc1fc896696b3ed87c12039e4ef3a0c (patch) | |
tree | 0e98164b74d0549a90de162226c36b677b7e8846 /test/functional/feature_abortnode.py | |
parent | 93ab136a33e46080c8aa02d59fb7c2a8d03a3387 (diff) |
test: Update wait_until usage in tests not to use the one from utils
Replace "wait_until()" usage from utils, with the ones from BitcoinTestFramework and P2PInterface.
closes #19080
Diffstat (limited to 'test/functional/feature_abortnode.py')
-rwxr-xr-x | test/functional/feature_abortnode.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/feature_abortnode.py b/test/functional/feature_abortnode.py index 75267de80b..17fbf50cc8 100755 --- a/test/functional/feature_abortnode.py +++ b/test/functional/feature_abortnode.py @@ -11,7 +11,7 @@ """ from test_framework.test_framework import BitcoinTestFramework -from test_framework.util import wait_until, get_datadir_path, connect_nodes +from test_framework.util import get_datadir_path, connect_nodes import os @@ -41,7 +41,7 @@ class AbortNodeTest(BitcoinTestFramework): # Check that node0 aborted self.log.info("Waiting for crash") - wait_until(lambda: self.nodes[0].is_node_stopped(), timeout=200) + self.nodes[0].wait_until_stopped(timeout=200) self.log.info("Node crashed - now verifying restart fails") self.nodes[0].assert_start_raises_init_error() |