Page MenuHomePhabricator

test: Avoid intermittent issues due to async events in validationinterface_tests
ClosedPublic

Authored by PiRK on Aug 21 2023, 08:25.

Details

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.

Event Timeline

PiRK requested review of this revision.Aug 21 2023, 08:25
PiRK planned changes to this revision.Aug 21 2023, 08:59
PiRK edited the summary of this revision. (Show Details)

use the same fix as core, use the TestChain100Setup only for the single test case that needs it

This revision is now accepted and ready to land.Aug 21 2023, 10:50