Skip to content

Commit

Permalink
chore: default catalog build time to 2 mins
Browse files Browse the repository at this point in the history
  • Loading branch information
squakez committed Aug 21, 2023
1 parent 3e4651b commit c663519
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion e2e/support/test_support.go
Original file line number Diff line number Diff line change
Expand Up @@ -1518,7 +1518,7 @@ func CreatePlainTextSecret(ns string, name string, data map[string]string) error
return CreatePlainTextSecretWithLabels(ns, name, data, map[string]string{})
}

func UpdateCreatePlainTextSecret(ns string, name string, data map[string]string) error {
func UpdatePlainTextSecret(ns string, name string, data map[string]string) error {
sec := corev1.Secret{
TypeMeta: metav1.TypeMeta{
Kind: "Secret",
Expand Down
4 changes: 2 additions & 2 deletions pkg/platform/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,9 +378,9 @@ func setPlatformDefaults(p *v1.IntegrationPlatform, verbose bool) error {

// Catalog tools build timeout
if p.Status.Build.GetBuildCatalogToolTimeout().Duration == 0 {
log.Debugf("Integration Platform %s [%s]: setting default build camel catalog tool timeout (1 minute)", p.Name, p.Namespace)
log.Debugf("Integration Platform %s [%s]: setting default build camel catalog tool timeout (2 minutes)", p.Name, p.Namespace)
p.Status.Build.BuildCatalogToolTimeout = &metav1.Duration{
Duration: 1 * time.Minute,
Duration: 2 * time.Minute,
}
} else {
d := p.Status.Build.GetBuildCatalogToolTimeout().Duration.Truncate(time.Second)
Expand Down

0 comments on commit c663519

Please sign in to comment.