Use correct status code type

pull/22649/head
Muxi Yan 5 years ago committed by GitHub
parent b25682427c
commit 317a55dd7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test/cpp/end2end/xds_end2end_test.cc

@ -2450,7 +2450,7 @@ TEST_P(LocalityMapTest, NoLocalities) {
AdsServiceImpl::BuildEdsResource({}), kDefaultResourceName);
Status status = SendRpc();
EXPECT_FALSE(status.ok());
EXPECT_EQ(status.error_code(), GRPC_STATUS_UNAVAILABLE);
EXPECT_EQ(status.error_code(), StatusCode::UNAVAILABLE);
}
// Tests that the locality map can work properly even when it contains a large

Loading…
Cancel
Save