Skip to content

Commit

Permalink
Fix delete RO repo on esti tests (#8530)
Browse files Browse the repository at this point in the history
  • Loading branch information
idanovo authored Jan 21, 2025
1 parent 0e15816 commit 8478590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esti/system_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func createRepository(ctx context.Context, t testing.TB, name string, repoStorag
func deleteRepositoryIfAskedTo(ctx context.Context, repositoryName string) {
deleteRepositories := viper.GetBool("delete_repositories")
if deleteRepositories {
resp, err := client.DeleteRepositoryWithResponse(ctx, repositoryName, &apigen.DeleteRepositoryParams{})
resp, err := client.DeleteRepositoryWithResponse(ctx, repositoryName, &apigen.DeleteRepositoryParams{Force: swag.Bool(true)})
if err != nil {
logger.WithError(err).WithField("repo", repositoryName).Error("Request to delete repository failed")
} else if resp.StatusCode() != http.StatusNoContent {
Expand Down

0 comments on commit 8478590

Please sign in to comment.