mirror of https://github.com/bitcoin/bitcoin
Merge bitcoin/bitcoin#28589: test: assumeutxo func test race fixes
pull/28590/head7e40032260
tests: assumeutxo: accept final height from either chainstate (James O'Beirne)5bd2010f02
test: assumeutxo: avoid race in functional test (James O'Beirne)7005a01c19
test: add wait_for_connect to BitcoinTestFramework.connect_nodes (James O'Beirne) Pull request description: Fixes https://github.com/bitcoin/bitcoin/issues/28585. Fixes a few races within the assumeutxo tests: - In general, `-stopatheight` can't be used with `connect_nodes` safely because the latter performs blocking assertions that are racy with the stopatheight triggering. - Now that the snapshot chainstate is listed as `normal` after background validation, accept the final height from either chainstate. ACKs for top commit: MarcoFalke: lgtm ACK7e40032260
fjahr: Code review ACK7e40032260
achow101: ACK7e40032260
ryanofsky: Code review ACK7e40032260
Tree-SHA512: 8cbd2a0ca8643f94baa0ae3561dcf68c3519d5ba851c6049e1768f28cae6434f47ffc28d404bf38ed11030ce3f00aae0a8be3f6d563e6ae6680d83c928a173d8
commit
cc68a3b9dd
Loading…
Reference in new issue