test: Check expected_stderr after stop

This commit is contained in:
MarcoFalke
2023-07-04 14:07:55 +02:00
parent 79e8247ddb
commit faf902858d
2 changed files with 15 additions and 14 deletions

View File

@@ -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()