test: Wait for node exit after crash in verify_utxo_hash

This commit is contained in:
MarcoFalke
2026-05-28 12:04:14 +02:00
parent faf1475514
commit fad585b6e5

View File

@@ -170,6 +170,7 @@ class ChainstateWriteCrashTest(BitcoinTestFramework):
nodei_utxo_hash = self.nodes[i].gettxoutsetinfo()['hash_serialized_3']
except Exception:
# probably a crash on db flushing
self.wait_for_node_exit(i, timeout=10)
nodei_utxo_hash = self.restart_node(i, expected_tip=self.nodes[3].getbestblockhash())
assert_equal(nodei_utxo_hash, node3_utxo_hash)