Since the block_finalized callback now runs in the scheduler thread, the test is racy as there is concurrent access to the test variables. This diff simplify the test and fixes the race.
Details
Details
- Reviewers
PiRK - Group Reviewers
Restricted Project - Commits
- rABC6ba1c1b97563: Fix a race in validationinterface_tests
With TSAN:
ninja check-bitcoin
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- validation_interface_race
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 26460 Build 52490: Build Diff build-without-wallet · build-debug · lint-circular-dependencies · build-clang-tidy · build-diff · build-clang Build 52489: arc lint + arc unit