Skip to content

Commit

Permalink
deactivate fake restore test
Browse files Browse the repository at this point in the history
  • Loading branch information
williamlardier committed May 7, 2024
1 parent f48b728 commit eb45a0e
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions tests/ctst/features/quotas/Quotas.feature
Original file line number Diff line number Diff line change
Expand Up @@ -52,36 +52,6 @@ Feature: Quota Management for APIs
| UploadPart | 10 | 99 | 99 | IAM_USER | fail | QuotaExceeded |
| UploadPart | 10 | 101 | 101 | IAM_USER | succeed | |

@2.6.0
@PreMerge
@Quotas
@CronJob
@Restore
Scenario Outline: Object restoration (fake) implements strict quotas
Given an action "RestoreObject"
And an upload size of <uploadSize> B for the object ""
And a "STORAGE_MANAGER" type
And a bucket quota set to <bucketQuota> B
And an account quota set to <accountQuota> B
And a "<userType>" type
And an environment setup for the API
And an "existing" IAM Policy that "applies" with "ALLOW" effect for the current API
And the user tries to perform the current S3 action on the bucket 1 times with a 0 ms delay
Then the API should "<result>" with "<expectedError>"

Examples:
| uploadSize | bucketQuota | accountQuota | userType | result | expectedError |
| 100 | 0 | 0 | ACCOUNT | succeed | |
| 100 | 99 | 0 | ACCOUNT | fail | QuotaExceeded |
| 100 | 0 | 99 | ACCOUNT | fail | QuotaExceeded |
| 100 | 99 | 99 | ACCOUNT | fail | QuotaExceeded |
| 100 | 101 | 101 | ACCOUNT | succeed | |
| 100 | 0 | 0 | IAM_USER | succeed | |
| 100 | 99 | 0 | IAM_USER | fail | QuotaExceeded |
| 100 | 0 | 99 | IAM_USER | fail | QuotaExceeded |
| 100 | 99 | 99 | IAM_USER | fail | QuotaExceeded |
| 100 | 101 | 101 | IAM_USER | succeed | |

@2.6.0
@PreMerge
@Quotas
Expand Down

0 comments on commit eb45a0e

Please sign in to comment.