Skip to content

Commit f2096ad

Browse files
committed
buildlet: increase timeout period for client
The a1.metal instances take about four minutes to become available before beginning to boot the Windows ARM64 VM. This means we need somewhere between five and ten minutes before we can first connect to the buildlet. It's possible that other instances are faster to boot, but this is currently the most economical choice. For golang/go#42604 Change-Id: Ib76944307c9ad28fd1adca0dc54f3fbeaabfffa0 Reviewed-on: https://go-review.googlesource.com/c/build/+/322654 Trust: Alexander Rakoczy <[email protected]> Run-TryBot: Alexander Rakoczy <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Carlos Amedee <[email protected]>
1 parent 98da949 commit f2096ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildlet/buildlet.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ type VMOpts struct {
8282
// it can connect with the endpoint before returning. The buildletURL is in the form of:
8383
// "https://<ip>". The ipPort field is in the form of "<ip>:<port>". The function
8484
// will attempt to connect to the buildlet for the lesser of: the default timeout period
85-
// (5 minutes) or the timeout set in the passed in context.
85+
// (10 minutes) or the timeout set in the passed in context.
8686
func buildletClient(ctx context.Context, buildletURL, ipPort string, opts *VMOpts) (*Client, error) {
87-
ctx, cancel := context.WithTimeout(ctx, 5*time.Minute)
87+
ctx, cancel := context.WithTimeout(ctx, 10*time.Minute)
8888
defer cancel()
8989
try := 0
9090
for !opts.SkipEndpointVerification {

0 commit comments

Comments
 (0)