Skip to content

Commit

Permalink
remove relevant ceph tests from black list
Browse files Browse the repository at this point in the history
Signed-off-by: Romy <35330373+romayalon@users.noreply.github.com>
  • Loading branch information
romayalon committed Oct 31, 2024
1 parent 7db9b1c commit a7cbf43
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,10 @@ s3tests_boto3/functional/test_headers.py::test_object_create_bad_authorization_i
s3tests_boto3/functional/test_headers.py::test_object_create_bad_date_invalid_aws2
s3tests_boto3/functional/test_headers.py::test_object_create_bad_date_empty_aws2
s3tests_boto3/functional/test_headers.py::test_object_create_bad_date_none_aws2
s3tests_boto3/functional/test_headers.py::test_object_create_bad_date_before_epoch_aws2
s3tests_boto3/functional/test_headers.py::test_bucket_create_bad_authorization_invalid_aws2
s3tests_boto3/functional/test_headers.py::test_bucket_create_bad_date_invalid_aws2
s3tests_boto3/functional/test_headers.py::test_bucket_create_bad_date_none_aws2
s3tests_boto3/functional/test_headers.py::test_bucket_create_bad_date_empty_aws2
s3tests_boto3/functional/test_headers.py::test_bucket_create_bad_date_before_epoch_aws2
s3tests/functional/test_headers.py::test_object_acl_create_contentlength_none
s3tests_boto3/functional/test_s3.py::test_bucket_listv2_delimiter_prefix
s3tests_boto3/functional/test_s3.py::test_bucket_listv2_delimiter_prefix_underscore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,10 @@ s3tests_boto3/functional/test_headers.py::test_object_create_bad_authorization_i
s3tests_boto3/functional/test_headers.py::test_object_create_bad_date_invalid_aws2
s3tests_boto3/functional/test_headers.py::test_object_create_bad_date_empty_aws2
s3tests_boto3/functional/test_headers.py::test_object_create_bad_date_none_aws2
s3tests_boto3/functional/test_headers.py::test_object_create_bad_date_before_epoch_aws2
s3tests_boto3/functional/test_headers.py::test_bucket_create_bad_authorization_invalid_aws2
s3tests_boto3/functional/test_headers.py::test_bucket_create_bad_date_invalid_aws2
s3tests_boto3/functional/test_headers.py::test_bucket_create_bad_date_none_aws2
s3tests_boto3/functional/test_headers.py::test_bucket_create_bad_date_empty_aws2
s3tests_boto3/functional/test_headers.py::test_bucket_create_bad_date_before_epoch_aws2
s3tests/functional/test_headers.py::test_object_acl_create_contentlength_none
s3tests_boto3/functional/test_s3.py::test_bucket_listv2_delimiter_prefix
s3tests_boto3/functional/test_s3.py::test_bucket_listv2_delimiter_prefix_underscore
Expand Down
2 changes: 1 addition & 1 deletion src/util/http_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ function check_headers(req, options) {
if (isNaN(req_time) && !req.query.Expires && is_not_anonymous_req) {
throw new options.ErrorClass(options.error_access_denied);
}
// future request should throw AccessDenied with request is no valid yet message
// futureus presigned url request should throw AccessDenied with request is no valid yet message
// we add a grace period of one second
const is_presigned_url = req.query.Expires || (req.query['X-Amz-Date'] && req.query['X-Amz-Expires']);
if (is_presigned_url && (req_time > (Date.now() + 2000))) {
Expand Down

0 comments on commit a7cbf43

Please sign in to comment.