Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
markdroth committed Sep 16, 2024
1 parent f945a86 commit bbd2831
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions test/cpp/end2end/xds/xds_cluster_end2end_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1107,15 +1107,13 @@ TEST_P(EdsTest, DropConfigUpdate) {
balancer_->ads_service()->SetEdsResource(BuildEdsResource(args));
// Wait until backend 1 sees traffic, so that we know the client has
// seen the update.
WaitForBackend(
DEBUG_LOCATION, 1,
[&](const RpcResult& result) {
if (!result.status.ok()) {
EXPECT_EQ(result.status.error_code(), StatusCode::UNAVAILABLE);
EXPECT_THAT(result.status.error_message(),
::testing::StartsWith(kStatusMessageDropPrefix));
}
});
WaitForBackend(DEBUG_LOCATION, 1, [&](const RpcResult& result) {
if (!result.status.ok()) {
EXPECT_EQ(result.status.error_code(), StatusCode::UNAVAILABLE);
EXPECT_THAT(result.status.error_message(),
::testing::StartsWith(kStatusMessageDropPrefix));
}
});
// Send kNumRpcsBoth RPCs and count the drops.
LOG(INFO) << "========= BEFORE SECOND BATCH ==========";
num_drops = SendRpcsAndCountFailuresWithMessage(DEBUG_LOCATION, kNumRpcsBoth,
Expand Down

0 comments on commit bbd2831

Please sign in to comment.