Skip to content

Commit

Permalink
Reviewer comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yashykt committed Jan 28, 2025
1 parent b758bde commit 97fcd80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/cpp/end2end/xds/xds_end2end_test_lib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@ const char XdsEnd2endTest::kRequestMessage[] = "Live long and prosper.";

XdsEnd2endTest::XdsEnd2endTest(
std::shared_ptr<ServerCredentials> balancer_credentials)
: event_engine_scope_(grpc_event_engine::experimental::CreateEventEngine()),
: scoped_event_engine_(
grpc_event_engine::experimental::CreateEventEngine()),
balancer_(CreateAndStartBalancer("Default Balancer",
std::move(balancer_credentials))) {
// Initialize default client-side xDS resources.
Expand Down
2 changes: 1 addition & 1 deletion test/cpp/end2end/xds/xds_end2end_test_lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,7 @@ class XdsEnd2endTest : public ::testing::TestWithParam<XdsTestType>,
// checking that all work from the current test is done, but this is not a
// guaranteed way since there might still be threads that are not using event
// engine but are still accessing/modifying the system state.
grpc_event_engine::experimental::DefaultEventEngineScope event_engine_scope_;
grpc_event_engine::experimental::DefaultEventEngineScope scoped_event_engine_;

std::unique_ptr<BalancerServerThread> balancer_;

Expand Down

0 comments on commit 97fcd80

Please sign in to comment.