diff --git a/crates/ecstore/src/bucket/lifecycle/bucket_lifecycle_ops.rs b/crates/ecstore/src/bucket/lifecycle/bucket_lifecycle_ops.rs index 1b67c13c0..e6174be17 100644 --- a/crates/ecstore/src/bucket/lifecycle/bucket_lifecycle_ops.rs +++ b/crates/ecstore/src/bucket/lifecycle/bucket_lifecycle_ops.rs @@ -11846,7 +11846,6 @@ mod tests { } #[tokio::test] - #[ignore = "requires isolated global object layer state"] #[serial] async fn ecstore_new_succeeds_on_fresh_local_volumes() { let test_base_dir = format!("/tmp/rustfs_ecstore_empty_boot_{}", Uuid::new_v4()); diff --git a/rustfs/src/app/multipart_usecase.rs b/rustfs/src/app/multipart_usecase.rs index 6d1af3dfe..cc4d0b798 100644 --- a/rustfs/src/app/multipart_usecase.rs +++ b/rustfs/src/app/multipart_usecase.rs @@ -2332,7 +2332,6 @@ mod tests { } #[tokio::test] - #[ignore = "requires isolated global object layer state"] async fn execute_list_multipart_uploads_returns_internal_error_when_store_uninitialized() { let input = ListMultipartUploadsInput::builder() .bucket("bucket".to_string()) @@ -2375,7 +2374,6 @@ mod tests { } #[tokio::test] - #[ignore = "requires isolated global object layer state"] async fn execute_list_parts_returns_internal_error_when_store_uninitialized() { let input = ListPartsInput::builder() .bucket("bucket".to_string()) @@ -2422,7 +2420,6 @@ mod tests { } #[tokio::test] - #[ignore = "requires isolated global object layer state"] async fn execute_upload_part_copy_returns_internal_error_when_store_uninitialized() { let input = UploadPartCopyInput::builder() .bucket("bucket".to_string()) diff --git a/rustfs/src/app/object_usecase.rs b/rustfs/src/app/object_usecase.rs index edfe7df83..8e420e97e 100644 --- a/rustfs/src/app/object_usecase.rs +++ b/rustfs/src/app/object_usecase.rs @@ -16668,7 +16668,6 @@ mod tests { } #[tokio::test] - #[ignore = "requires isolated global object layer state"] async fn execute_get_object_attributes_returns_internal_error_when_store_uninitialized() { let input = GetObjectAttributesInput::builder() .bucket("test-bucket".to_string()) @@ -16811,7 +16810,6 @@ mod tests { } #[tokio::test] - #[ignore = "requires isolated global object layer state"] async fn execute_restore_object_returns_internal_error_when_store_uninitialized() { let restore_request = RestoreRequest { days: Some(1), diff --git a/rustfs/src/storage/access.rs b/rustfs/src/storage/access.rs index 2de6c3dda..bdab944e9 100644 --- a/rustfs/src/storage/access.rs +++ b/rustfs/src/storage/access.rs @@ -3452,35 +3452,6 @@ mod tests { assert_eq!(conditions.get("delimiter"), Some(&vec!["/".to_string()])); } - /// When policy metadata cannot be loaded, tag-based check is conservative (returns true). - #[tokio::test] - #[ignore = "requires isolated global object layer state"] - async fn test_bucket_policy_needs_existing_object_tag_load_failure_is_conservative() { - let conditions = HashMap::new(); - let store = crate::app::gating_test_env::shared_gating_ecstore().await; - let hint = load_bucket_policy_existing_object_tag_hint( - store.as_ref(), - "test-bucket-no-policy-xyz-absent", - Action::S3Action(S3Action::GetObjectAction), - ) - .await; - let no_groups: Option> = None; - let args = BucketPolicyArgs { - bucket: "test-bucket-no-policy-xyz-absent", - action: Action::S3Action(S3Action::GetObjectAction), - is_owner: false, - account: "", - groups: &no_groups, - conditions: &conditions, - object: "obj", - }; - let result = bucket_policy_needs_existing_object_tag_from_hint(&hint, &args).await; - assert!( - result, - "when policy metadata cannot be loaded, ExistingObjectTag should be fetched conservatively" - ); - } - #[test] fn test_bucket_policy_existing_object_tag_condition_key_detection() { let condition_key_policy = r#"{