Skip to content

Commit

Permalink
Merge branch 'dev' into update-gofrog-unarchive
Browse files Browse the repository at this point in the history
  • Loading branch information
noyshabtay committed May 29, 2024
2 parents 0d2b605 + 145a579 commit bad9087
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ func isEnterprisePlus() (bool, error) {
if err != nil {
return false, err
}
return value == "Enterprise Plus", nil
return strings.Contains(value, "Enterprise Plus"), nil
}

func createRepoConfigValidationFunc(repoKey string, expectedConfig interface{}) clientutils.ExecutionHandlerFunc {
Expand Down Expand Up @@ -921,7 +921,7 @@ func createRepoConfigValidationFunc(repoKey string, expectedConfig interface{})

func validateRepoConfig(t *testing.T, repoKey string, params interface{}) {
retryExecutor := &clientutils.RetryExecutor{
MaxRetries: 30,
MaxRetries: 5,
// RetriesIntervalMilliSecs in milliseconds
RetriesIntervalMilliSecs: 10 * 1000,
ErrorMessage: "Waiting for Artifactory to evaluate repository operation...",
Expand Down

0 comments on commit bad9087

Please sign in to comment.