integration: increase timeouts

Set the limit high enough to ensure failure in CI
signals a bug

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
v0.8
Tonis Tiigi 2020-07-17 19:21:18 -07:00
parent adb68c2764
commit 8247b7b50b
2 changed files with 2 additions and 2 deletions

View File

@ -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, 10*time.Second)
ctx, cancel := context.WithTimeout(ctx, 15*time.Second)
defer cancel()
resp, err := c.Ping(ctx, &pb.PingRequest{})
if err != nil {

View File

@ -181,7 +181,7 @@ func runBuildkitd(conf *BackendConfig, args []string, logs map[string]*bytes.Buf
deferF.append(stop)
}
if err := waitUnix(address, 10*time.Second); err != nil {
if err := waitUnix(address, 15*time.Second); err != nil {
return "", nil, err
}