Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
ctiller committed Jan 29, 2025
1 parent 512300d commit dae7e95
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/core/handshake/test_handshake.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ using ::grpc_event_engine::experimental::FuzzingEventEngine;
using ::grpc_event_engine::experimental::grpc_event_engine_endpoint_create;
using ::grpc_event_engine::experimental::MemoryQuotaBasedMemoryAllocatorFactory;
using ::grpc_event_engine::experimental::ResolvedAddressMakeWild4;
using ::grpc_event_engine::experimental::SetDefaultEventEngine;
using ::grpc_event_engine::experimental::ShutdownDefaultEventEngine;

namespace grpc_core {

Expand Down Expand Up @@ -80,9 +78,9 @@ absl::StatusOr<std::tuple<ChannelArgs, ChannelArgs>> TestHandshake(
std::make_unique<MemoryQuotaBasedMemoryAllocatorFactory>(
ResourceQuota::Default()->memory_quota()));
if (!listener.ok()) return listener.status();
const auto bind_status = (*listener)->Bind(addr);
auto bind_status = (*listener)->Bind(addr);
if (!bind_status.ok()) return bind_status.status();
const auto listen_status = (*listener)->Start();
auto listen_status = (*listener)->Start();
if (!listen_status.ok()) return listen_status;
// Connect client
absl::optional<absl::StatusOr<ChannelArgs>> output_client_args;
Expand Down

0 comments on commit dae7e95

Please sign in to comment.