test(e2e): enforce awscurl smoke prerequisite

This commit is contained in:
overtrue
2026-08-23 01:38:00 +08:00
parent 95cc94f27c
commit 9559be02bc
2 changed files with 14 additions and 2 deletions
@@ -53,8 +53,7 @@ fn create_user_client(env: &RustFSTestEnvironment, access_key: &str, secret_key:
async fn test_bucket_policy_authenticated_user() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
init_logging();
if !crate::common::awscurl_available() {
info!("Skipping test_bucket_policy_authenticated_user because awscurl is not available");
return Ok(());
return Err("awscurl is required for test_bucket_policy_authenticated_user".into());
}
info!("Starting test_bucket_policy_authenticated_user...");