Skip to content

Commit

Permalink
fix logic
Browse files Browse the repository at this point in the history
  • Loading branch information
jbkyang-nvi committed Nov 9, 2023
1 parent b0c8673 commit 3c1a7de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/c++/tests/client_timeout_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ TestTimeoutAPIs(
COUNT_ERROR_MSGS(
grpc_client->UnregisterCudaSharedMemory(memory_name, headers, timeout_ms),
"Failed on UnregisterSystemSharedMemory", count);
if (count > 0 && count == 18) {
if (count > 0 && count != 18) {
std::cerr << "error count: " << count
<< " which is not 0 nor expected number of APIs that are "
"expected to fail (18)"
Expand Down

0 comments on commit 3c1a7de

Please sign in to comment.