ci: skip s3tests test expecting incorrect delete behavior

Skip test_object_lock_delete_object_with_retention_and_marker in s3tests because it expects SeaweedFS incorrect behavior (allowing delete under COMPLIANCE retention). SeaweedFS now correctly implements AWS S3 behavior: delete of objects under COMPLIANCE retention returns AccessDenied and does not create a delete marker.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Chris Lu
2026-02-16 03:20:05 -08:00
co-authored by Copilot
parent 8fac0cdab8
commit 678c52e74f
+4 -1
View File
@@ -479,7 +479,10 @@ jobs:
" || echo "Cleanup completed with some errors (expected)"
# Run versioning and object lock tests once (avoid duplicates)
tox -- s3tests/functional/test_s3.py -k "object_lock or versioning" --tb=short
# Note: Excluding test_object_lock_delete_object_with_retention_and_marker because it
# tests incorrect behavior (SeaweedFS now correctly implements AWS S3 behavior: delete
# under COMPLIANCE retention returns AccessDenied, not creating a delete marker)
tox -- s3tests/functional/test_s3.py -k "object_lock or versioning" --deselect="s3tests/functional/test_s3.py::test_object_lock_delete_object_with_retention_and_marker" --tb=short
kill -9 $pid || true
# Clean up data directory
rm -rf "$WEED_DATA_DIR" || true