|
|
|
@ -139,11 +139,7 @@ class ClientLbEnd2endTest : public ::testing::Test { |
|
|
|
|
: server_host_("localhost"), |
|
|
|
|
kRequestMessage_("Live long and prosper."), |
|
|
|
|
creds_(new SecureChannelCredentials( |
|
|
|
|
grpc_fake_transport_security_credentials_create())) { |
|
|
|
|
// Make the backup poller poll very frequently in order to pick up
|
|
|
|
|
// updates from all the subchannels's FDs.
|
|
|
|
|
GPR_GLOBAL_CONFIG_SET(grpc_client_channel_backup_poll_interval_ms, 1); |
|
|
|
|
} |
|
|
|
|
grpc_fake_transport_security_credentials_create())) {} |
|
|
|
|
|
|
|
|
|
void SetUp() override { |
|
|
|
|
grpc_init(); |
|
|
|
@ -1485,6 +1481,9 @@ TEST_F(ClientLbInterceptTrailingMetadataTest, InterceptsRetriesEnabled) { |
|
|
|
|
} // namespace grpc
|
|
|
|
|
|
|
|
|
|
int main(int argc, char** argv) { |
|
|
|
|
// Make the backup poller poll very frequently in order to pick up
|
|
|
|
|
// updates from all the subchannels's FDs.
|
|
|
|
|
GPR_GLOBAL_CONFIG_SET(grpc_client_channel_backup_poll_interval_ms, 1); |
|
|
|
|
::testing::InitGoogleTest(&argc, argv); |
|
|
|
|
grpc::testing::TestEnvironment env(argc, argv); |
|
|
|
|
const auto result = RUN_ALL_TESTS(); |
|
|
|
|