|
|
|
@ -294,9 +294,9 @@ class AsyncEnd2endTest : public ::testing::TestWithParam<TestScenario> { |
|
|
|
|
auto channel_creds = GetCredentialsProvider()->GetChannelCredentials( |
|
|
|
|
GetParam().credentials_type, &args); |
|
|
|
|
std::shared_ptr<Channel> channel = |
|
|
|
|
!(GetParam().inproc) |
|
|
|
|
? ::grpc::CreateCustomChannel(server_address_.str(), channel_creds, args) |
|
|
|
|
: server_->InProcessChannel(args); |
|
|
|
|
!(GetParam().inproc) ? ::grpc::CreateCustomChannel( |
|
|
|
|
server_address_.str(), channel_creds, args) |
|
|
|
|
: server_->InProcessChannel(args); |
|
|
|
|
stub_ = grpc::testing::EchoTestService::NewStub(channel); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -1255,9 +1255,9 @@ TEST_P(AsyncEnd2endTest, UnimplementedRpc) { |
|
|
|
|
const auto& channel_creds = GetCredentialsProvider()->GetChannelCredentials( |
|
|
|
|
GetParam().credentials_type, &args); |
|
|
|
|
std::shared_ptr<Channel> channel = |
|
|
|
|
!(GetParam().inproc) |
|
|
|
|
? ::grpc::CreateCustomChannel(server_address_.str(), channel_creds, args) |
|
|
|
|
: server_->InProcessChannel(args); |
|
|
|
|
!(GetParam().inproc) ? ::grpc::CreateCustomChannel(server_address_.str(), |
|
|
|
|
channel_creds, args) |
|
|
|
|
: server_->InProcessChannel(args); |
|
|
|
|
std::unique_ptr<grpc::testing::UnimplementedEchoService::Stub> stub; |
|
|
|
|
stub = grpc::testing::UnimplementedEchoService::NewStub(channel); |
|
|
|
|
EchoRequest send_request; |
|
|
|
|