test: Check expected_stderr after stop

This commit is contained in:
MarcoFalke committed 2023-07-10 13:45:50 +02:00
1 parent 79e8247ddb
commit faf902858d
2 files changed
+15 -14

No files matched your search

+1 -1
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()