Skip to content

Commit

Permalink
Merge pull request moby#1525 from tonistiigi/timeout-increase
Browse files Browse the repository at this point in the history
increase test context timeouts
  • Loading branch information
AkihiroSuda authored Jun 7, 2020
2 parents 598a0bd + cc88b8f commit 920772c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/gateway/grpcclient/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type GrpcClient interface {
}

func New(ctx context.Context, opts map[string]string, session, product string, c pb.LLBBridgeClient, w []client.WorkerInfo) (GrpcClient, error) {
ctx, cancel := context.WithTimeout(ctx, 5*time.Second)
ctx, cancel := context.WithTimeout(ctx, 10*time.Second)
defer cancel()
resp, err := c.Ping(ctx, &pb.PingRequest{})
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion util/testutil/integration/sandbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func runBuildkitd(conf *BackendConfig, args []string, logs map[string]*bytes.Buf
deferF.append(stop)
}

if err := waitUnix(address, 5*time.Second); err != nil {
if err := waitUnix(address, 10*time.Second); err != nil {
return "", nil, err
}

Expand Down

0 comments on commit 920772c

Please sign in to comment.