test: add static REST tests

This commit is contained in:
Luke McCrone
2025-09-25 18:00:04 -03:00
parent 3cd61859b8
commit 6ae48f709b
2 changed files with 22 additions and 2 deletions
+18
View File
@@ -39,6 +39,24 @@ jobs:
RECREATE_BUCKETS: "true"
DELETE_BUCKETS_AFTER_TEST: "true"
BACKEND: "posix"
- set: "REST, posix, static, base|acl|multipart|put-object, folder IAM"
IAM_TYPE: folder
RUN_SET: "rest-base,rest-acl,rest-multipart,rest-put-object"
RECREATE_BUCKETS: "false"
DELETE_BUCKETS_AFTER_TEST: "false"
BACKEND: "posix"
- set: "REST, posix, static, chunked|checksum|versioning|bucket, folder IAM"
IAM_TYPE: folder
RUN_SET: "rest-chunked,rest-checksum,rest-versioning,rest-bucket,rest-list-buckets,rest-create-bucket,rest-head-bucket"
RECREATE_BUCKETS: "false"
DELETE_BUCKETS_AFTER_TEST: "false"
BACKEND: "posix"
- set: "REST, posix, static, not implemented|rest-delete-bucket-ownership-controls|rest-delete-bucket-tagging, folder IAM"
IAM_TYPE: folder
RUN_SET: "rest-not-implemented,rest-delete-bucket-ownership-controls,rest-delete-bucket-tagging"
RECREATE_BUCKETS: "false"
DELETE_BUCKETS_AFTER_TEST: "false"
BACKEND: "posix"
- set: "s3, posix, non-file count, non-static, folder IAM"
IAM_TYPE: folder
RUN_SET: "s3-non-file-count"
+4 -2
View File
@@ -31,8 +31,10 @@ test_file="test_file"
log 5 "get versioning"
run check_versioning_status_rest "$BUCKET_ONE_NAME" ""
assert_success
if [ "$RECREATE_BUCKETS" != "true" ]; then
run check_versioning_status_rest "$BUCKET_ONE_NAME" ""
assert_success
fi
run put_bucket_versioning_rest "$BUCKET_ONE_NAME" "Enabled"
assert_success