From 775362a2cea21363339d73215e3b9a1394ad55b2 Mon Sep 17 00:00:00 2001 From: "Mark D. Roth" Date: Wed, 30 Mar 2022 18:33:29 -0700 Subject: [PATCH] client_lb_end2end_test: fix internal build problem (#29265) --- test/cpp/end2end/client_lb_end2end_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cpp/end2end/client_lb_end2end_test.cc b/test/cpp/end2end/client_lb_end2end_test.cc index 3932e5a521a..9feaf7331af 100644 --- a/test/cpp/end2end/client_lb_end2end_test.cc +++ b/test/cpp/end2end/client_lb_end2end_test.cc @@ -1917,7 +1917,7 @@ TEST_F(ClientLbInterceptTrailingMetadataTest, StatusFailed) { Status status; SendRpc(stub, /*response=*/nullptr, /*timeout_ms=*/1000, &status, /*wait_for_ready=*/false, &request); - EXPECT_EQ(status.error_code(), GRPC_STATUS_PERMISSION_DENIED); + EXPECT_EQ(status.error_code(), StatusCode::PERMISSION_DENIED); EXPECT_EQ(status.error_message(), "bummer, man"); absl::Status status_seen_by_lb = last_status(); EXPECT_EQ(status_seen_by_lb.code(), absl::StatusCode::kPermissionDenied);