Skip to content

Commit

Permalink
Remove GPR_ASSERT .
Browse files Browse the repository at this point in the history
Replace GPR_ASSERT with absl CHECK is causing issues because tensorflow uses platform/logging.h which interferes with absl/log.h

PiperOrigin-RevId: 634724012
  • Loading branch information
tanvi-jagtap authored and tensorflow-copybara committed May 17, 2024
1 parent b907149 commit 2dca3af
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tensorflow_serving/test_util/grpc_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ class ServingClient {
void* sp;
bool ok = false;
while (cq_.Next(&sp, &ok)) {
GPR_ASSERT(ok);
done_count_++;
std::unique_ptr<RpcState> state((RpcState*)sp);
if (state->status.ok()) {
Expand Down

0 comments on commit 2dca3af

Please sign in to comment.