Skip to content

Commit a4cbeee

Browse files
authored
xds_core_end2end_test: increase RPC timeout on BootstrapSource test (grpc#29802)
1 parent 9aa91e9 commit a4cbeee

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/cpp/end2end/xds/xds_core_end2end_test.cc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,10 @@ TEST_P(BootstrapSourceTest, Vanilla) {
600600
CreateAndStartBackends(1);
601601
EdsResourceArgs args({{"locality0", CreateEndpointsForBackends()}});
602602
balancer_->ads_service()->SetEdsResource(BuildEdsResource(args));
603-
WaitForAllBackends(DEBUG_LOCATION);
603+
// Increase timeout, since kBootstrapFromFile takes more time on busy
604+
// test machines. (We've seen at least one occurrence where it's
605+
// taken over 10 seconds.)
606+
CheckRpcSendOk(DEBUG_LOCATION, 1, RpcOptions().set_timeout_ms(15000));
604607
}
605608

606609
//

0 commit comments

Comments
 (0)