Merge pull request #509 from markdroth/create-pull-request/patch-f7bc89f

Automated fix for refs/heads/channelz_crash_fix
pull/36434/head
Mark D. Roth 11 months ago committed by GitHub
commit c9ea4ecdaa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      test/core/channelz/channel_trace_test.cc

@ -326,8 +326,7 @@ TEST(ChannelTracerTest, ThreadSafety) {
absl::Notification done;
std::vector<std::unique_ptr<std::thread>> threads;
for (size_t i = 0; i < 10; ++i) {
threads.push_back(std::make_unique<std::thread>(
[&]() {
threads.push_back(std::make_unique<std::thread>([&]() {
do {
AddSimpleTrace(&tracer);
} while (!done.HasBeenNotified());

Loading…
Cancel
Save