aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_abortnode.py
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2023-07-11 09:54:02 +0100
committerfanquake <fanquake@gmail.com>2023-07-11 10:14:48 +0100
commit21ed7846144fa3d2371ea652d48200af4d711f99 (patch)
treeb3fc473dcf9cbced8d11a1e7880906caaa3cc32b /test/functional/feature_abortnode.py
parentef29d5d7e239b42269dd22ea94a709b5e4ceb5e5 (diff)
parentfaf902858d38150caa8991b0ab9d7cfee2905684 (diff)
Merge bitcoin/bitcoin#28028: test: Check expected_stderr after stop
faf902858d38150caa8991b0ab9d7cfee2905684 test: Check expected_stderr after stop (MarcoFalke) Pull request description: This fixes a bug where stderr wasn't checked for the shutdown sequence. Fix that by waiting for the shutdown to finish and then check stderr. ACKs for top commit: theStack: ACK faf902858d38150caa8991b0ab9d7cfee2905684 Tree-SHA512: a70cd1e6cda84d542782e41e8b59741dbcd472c0d0575bcef5cbfd1418473ce94efe921481d557bae3fbbdd78f1c49c09c48872883c052d87c5c9a9a51492692
Diffstat (limited to 'test/functional/feature_abortnode.py')
-rwxr-xr-xtest/functional/feature_abortnode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/feature_abortnode.py b/test/functional/feature_abortnode.py
index afee9597ad..76b50a5bfc 100755
--- a/test/functional/feature_abortnode.py
+++ b/test/functional/feature_abortnode.py
@@ -36,7 +36,7 @@ class AbortNodeTest(BitcoinTestFramework):
# Check that node0 aborted
self.log.info("Waiting for crash")
- self.nodes[0].wait_until_stopped(timeout=5, expect_error=True)
+ self.nodes[0].wait_until_stopped(timeout=5, expect_error=True, expected_stderr="Error: A fatal internal error occurred, see debug.log for details")
self.log.info("Node crashed - now verifying restart fails")
self.nodes[0].assert_start_raises_init_error()