diff --git a/test/cpp/end2end/message_allocator_end2end_test.cc b/test/cpp/end2end/message_allocator_end2end_test.cc index 69ad3c7c520..dac562b7532 100644 --- a/test/cpp/end2end/message_allocator_end2end_test.cc +++ b/test/cpp/end2end/message_allocator_end2end_test.cc @@ -175,7 +175,7 @@ class MessageAllocatorEnd2endTestBase stub_->async()->Echo( &cli_ctx, &request, &response, [&request, &response, &done, &mu, &cv, val](Status s) { - CHECK_OK(s); + CHECK(s.ok()); EXPECT_EQ(request.message(), response.message()); std::lock_guard l(mu);