grpc/test/cpp
Yash Tibrewal 625b3544e7
writes_per_rpc_test: TSAN data race fix (#32688)
Fixing TSAN data races of the kind -
https://source.cloud.google.com/results/invocations/c3f02253-0d0b-44e6-917d-07e4bc0d3d62/targets/%2F%2Ftest%2Fcpp%2Fperformance:writes_per_rpc_test@poller%3Dpoll/log

I think the original issue was the non-atomic load in
writes_per_rpc_test.cc but also making the change to use barriers
instead of relaxed atomics (probably unimportant but I'll prefer safety
in the absence of otherwise comments).

Could probably also use std::atomic but feeling a bit lazy to make the
changes throughout.

<!--

If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the
appropriate
lang label.

-->
2023-03-22 19:15:25 -07:00
..
client [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
cocoapods [cleanups] Clean up `GrpcLibraryInitializer` (#31894) 2022-12-17 01:08:35 +08:00
codegen [codegen] Escape variable delimiters in raw comment printing (#32190) 2023-01-24 14:39:19 -08:00
common Add a test case for infinite past or unix epoch expiry in alarm_test.cc (#32101) 2023-01-18 11:09:17 -08:00
end2end Revert "[config] Move global config alongside core configuration" (#32659) 2023-03-20 08:22:29 -07:00
ext GcpObservability: Plumb tracing information to logs (#32643) 2023-03-22 18:45:01 -07:00
grpclb Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
interop [testing] Update orca-* tests for better compatibility (#32630) 2023-03-16 12:54:59 -07:00
microbenchmarks Revert "[promises] Convert call to a party" (#32651) 2023-03-17 12:36:19 -07:00
naming Revert "[config] Move global config alongside core configuration" (#32659) 2023-03-20 08:22:29 -07:00
performance writes_per_rpc_test: TSAN data race fix (#32688) 2023-03-22 19:15:25 -07:00
qps Fix include guards for src/ and test/ directories (#32167) 2023-01-20 16:27:27 -08:00
security Added verified_root_cert_subject pass up through cpp api (#32335) 2023-03-08 13:41:26 -05:00
server Fix a race on vptr for UnimplementedAsyncRequest (#32547) 2023-03-10 13:00:56 -08:00
test Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
thread_manager [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
util Fix unused variable warning (#32616) 2023-03-14 13:04:12 -07:00
README-iOS.md Refactor end2end tests to exercise each EventEngine (#29202) 2022-03-30 15:43:05 -07:00