The test may fail intermittently when the net
thread is lagging while calling DeleteNode
. This may result in a split getdata
, meaning that peer2.wait_for_parent_requests([int(parent_peekaboo_AB["txid"], 16), int(parent_missing["txid"], 16)])
fails.
Fix it by adding a sync on the net
thread.
Fixes #31700