e2e: Make docker build timeout longer (#1862)

Depending on the host machine spec and load, it can take more time than 5 minutes. This change adhocly increases the timeout by 1.5x to address that.
This commit is contained in:
Yusuke Kuoka 2022-10-04 20:31:10 +09:00 committed by GitHub
parent 50e26bd2f6
commit aa60021ab0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ func (e *Env) DeleteTestID(t *testing.T) {
func (e *Env) DockerBuild(t *testing.T, builds []DockerBuild) {
t.Helper()
ctx, cancel := context.WithTimeout(context.Background(), 300*time.Second)
ctx, cancel := context.WithTimeout(context.Background(), 450*time.Second)
defer cancel()
if err := e.docker.Build(ctx, builds); err != nil {