fix(s3): improve GitLab registry compatibility (#2596)

Co-authored-by: houseme <housemecn@gmail.com>
This commit is contained in:
安正超
2026-04-19 10:10:42 +08:00
committed by GitHub
parent 93d0606cbd
commit 457f4e0170
7 changed files with 292 additions and 39 deletions
@@ -1225,10 +1225,11 @@ mod serial_tests {
let object_name = "test/object.txt";
create_test_bucket(&ecstore, bucket_name.as_str()).await;
upload_test_object(&ecstore, bucket_name.as_str(), object_name, b"expire immediately").await;
set_bucket_lifecycle(bucket_name.as_str())
.await
.expect("Failed to set lifecycle configuration");
upload_test_object(&ecstore, bucket_name.as_str(), object_name, b"expire immediately").await;
assert!(object_exists(&ecstore, bucket_name.as_str(), object_name).await);