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
parent
adb68c2764
commit
8247b7b50b
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue