Skip to content

Commit aa3bd76

Browse files
arttianezhumeta-codesync[bot]
authored andcommitted
UT minor fix barrier logging
Summary: As title, fix the previous problem where the last rank to arrive at the barrier will not print "barrier leave". Reviewed By: function47 Differential Revision: D85370482 fbshipit-source-id: af2770a45718a37f9c318638b5b7d2ec0932144a
1 parent 8edfb10 commit aa3bd76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

comms/ctran/tests/bootstrap/IntraProcessBootstrap.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ void IntraProcessBootstrap::barrierNamed(
3737
}
3838
std::this_thread::sleep_for(std::chrono::milliseconds(10));
3939
}
40-
41-
CLOGF(INFO, "rank [{}/{}] barrier '{}' leave", rank, nRanks, name);
4240
}
41+
42+
CLOGF(INFO, "rank [{}/{}] barrier '{}' leave", rank, nRanks, name);
4343
}
4444

4545
folly::SemiFuture<int>

0 commit comments

Comments
 (0)