Internal change

PiperOrigin-RevId: 383512322
This commit is contained in:
Janusz Sobczak
2021-07-07 16:02:54 -07:00
committed by Copybara-Service
parent a1c787e62c
commit 15996d64dd
3 changed files with 16 additions and 3 deletions
@@ -265,6 +265,8 @@ class BasePcpHandlerTest
.allowed = allowed,
.auto_upgrade_bandwidth = true,
.enforce_topology_constraints = true,
.keep_alive_interval_millis = 5000,
.keep_alive_timeout_millis = 3000,
};
EXPECT_CALL(*pcp_handler, StartDiscoveryImpl(client, service_id, _))
.WillOnce(Return(MockPcpHandler::StartOperationResult{
+4 -1
View File
@@ -113,7 +113,10 @@ class EndpointManagerTest : public ::testing::Test {
}
ClientProxy client_;
ConnectionOptions options_;
ConnectionOptions options_{
.keep_alive_interval_millis = 5000,
.keep_alive_timeout_millis = 30000,
};
std::vector<std::unique_ptr<EndpointManager::FrameProcessor>> processors_;
EndpointChannelManager ecm_;
EndpointManager em_{&ecm_};