Page MenuHomePhabricator

[avalanche] Fix threading issue in processor_tests.cpp
ClosedPublic

Authored by Fabien on Jun 4 2021, 19:32.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
Commits
rABC13e9dcd14d5a: [avalanche] Fix threading issue in processor_tests.cpp
Summary

The test called the PeerManager directly instead of using the processor
interface that holds the appropriated locks.

Test Plan

With Clang and Debug:

ninja check-avalanche

Run the TSAN build.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable