diff --git a/test/cpp/end2end/context_allocator_end2end_test.cc b/test/cpp/end2end/context_allocator_end2end_test.cc index d594b2cd11a..ae3222f7395 100644 --- a/test/cpp/end2end/context_allocator_end2end_test.cc +++ b/test/cpp/end2end/context_allocator_end2end_test.cc @@ -150,7 +150,7 @@ class ContextAllocatorEnd2endTestBase 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);