HomePhabricator

test: Avoid intermittent issues due to async events in validationinterface_tests

Description

test: Avoid intermittent issues due to async events in validationinterface_tests

Summary:
Currently the tests have many issues:

This is a backport of core#28150

Test Plan:
I ran ./src/test/test_bitcoin -t validationinterface_tests/unregister_all_during_call -- -printtoconsole=1 in a loop but was not able to reproduce the intermittent failure locallly.
We can monitor the CI and see if the test keeps failing.

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D14389

Details

Provenance
PiRKAuthored on Aug 21 2023, 08:11
PiRKPushed on Aug 21 2023, 12:30
Reviewer
Restricted Project
Differential Revision
D14389: test: Avoid intermittent issues due to async events in validationinterface_tests
Parents
rABCa9803b74b018: sync: detect double lock from the same thread
Branches
Unknown
Tags
Unknown