Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: REST multipart upload testing, cleanup #898

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

lrm25
Copy link
Contributor

@lrm25 lrm25 commented Oct 16, 2024

No description provided.

@lrm25 lrm25 force-pushed the test_cmdline_lock_versioning branch from 3803cc0 to 8f54b93 Compare October 16, 2024 22:15
@lrm25 lrm25 changed the title Test cmdline lock versioning test: REST multipart upload testing, cleanup Oct 17, 2024

# Step 3: generate signature

date_key=$(echo -n "$year_month_day" | openssl dgst -sha256 -mac HMAC -macopt key:"AWS4${aws_secret_access_key}" | awk '{print $2}')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should get wrapped in a function somewhere since the same code is used in another test file.

@lrm25 lrm25 force-pushed the test_cmdline_lock_versioning branch 2 times, most recently from 6334d2a to c4825b3 Compare October 18, 2024 21:51
Copy link

@anodelman anodelman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of final nits.

test_put_bucket_acl_s3cmd() {
if [[ $DIRECT != "true" ]]; then
# https://github.com/versity/versitygw/issues/695
skip

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a skip message here to appear in the logs please.

test_common_put_bucket_acl() {
if [[ $RECREATE_BUCKETS == "false" ]]; then
# https://github.com/versity/versitygw/issues/716
skip

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could use a message here as well.

@lrm25 lrm25 force-pushed the test_cmdline_lock_versioning branch from c4825b3 to e291f6a Compare October 22, 2024 13:11
Copy link

@anodelman anodelman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking good

@benmcclelland benmcclelland merged commit bb65e4c into main Oct 22, 2024
20 checks passed
@benmcclelland benmcclelland deleted the test_cmdline_lock_versioning branch October 22, 2024 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants