Skip to content

Commit

Permalink
feat: Forks should be quick
Browse files Browse the repository at this point in the history
  • Loading branch information
jhutar committed Nov 11, 2024
1 parent 8d33f5d commit b4ecf12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/clients/github/repositories.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func (g *Github) ForkRepository(sourceName, targetName string) (*github.Reposito
return false, fmt.Errorf("Error forking %s/%s: %v", g.organization, sourceName, err)
}
return true, nil
}, time.Second * 2, time.Minute * 30)
}, time.Second * 2, time.Minute * 5)
if err1 != nil {
return nil, fmt.Errorf("Failed waiting for repo %s/%s: %v", g.organization, sourceName, err1)
}
Expand Down
2 changes: 1 addition & 1 deletion tests/load-tests/pkg/journey/handle_repo_templating.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func ForkRepo(f *framework.Framework, repoUrl, repoRevision, username string) (s
return false, nil
}
return true, nil
}, time.Second * 20, time.Minute * 60)
}, time.Second * 20, time.Minute * 10)
if err != nil {
return "", err
}
Expand Down

0 comments on commit b4ecf12

Please sign in to comment.