In several places in chronik tests, a peer send a block to the node and waits for the node to catch up before calling chronik. This is racy because it doesn't guarantee that the validation callbacks ran and chronik might not be synced yet. Fix this by consistently syncing the validation queue in these cases.
There are likely other similar edge cases but this should avoid most of the random (and rare) failures due to this race condition.
Details
Details
- Reviewers
PiRK - Group Reviewers
Restricted Project - Commits
- rABC5db4ff6efcd3: [chronik] Consistently sync the validation queue in functional tests
./test/functional/test_runner.py chronik_*
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable