Page MenuHomePhabricator

Fix a race in the net tests
ClosedPublic

Authored by Fabien on Aug 8 2022, 09:35.

Details

Reviewers
sdulfari
Group Reviewers
Restricted Project
Commits
rABC12677a9f321d: Fix a race in the net tests
Summary

There is a possible race that can occur when looping over the nodes while the opening connection thread is running. This can be fixed by joining the thread before running the check.

Test Plan

Run the tsan build.

Diff Detail