Skip to content

Commit

Permalink
addressed more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jbkyang-nvi committed Nov 14, 2023
1 parent 3c1a7de commit f3ce4e1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/c++/tests/client_timeout_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,8 @@ TestTimeoutAPIs(
COUNT_ERROR_MSGS(
grpc_client->UnregisterCudaSharedMemory(memory_name, headers, timeout_ms),
"Failed on UnregisterSystemSharedMemory", count);
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)"
<< std::endl;
if (count != 0) {
std::cerr << "error count: " << count << " which is not 0 " << std::endl;
exit(1);
}
}
Expand Down

0 comments on commit f3ce4e1

Please sign in to comment.