Skip to content

Tag S3 Test resources#1994

Merged
sbiscigl merged 1 commit intomainfrom
integration-test-tagging
Jul 13, 2022
Merged

Tag S3 Test resources#1994
sbiscigl merged 1 commit intomainfrom
integration-test-tagging

Conversation

@sbiscigl
Copy link
Copy Markdown
Collaborator

Description of changes:

Adds tags to our S3 integration test resources for ease of cleaning them up.

Check all that applies:

  • Did a review by yourself.
  • Added proper tests to cover this PR. (If tests are not applicable, explain.)
  • Checked if this PR is a breaking (APIs have been changed) change.
  • Checked if this PR will not introduce cross-platform inconsistent behavior.
  • Checked if this PR would require a ReadMe/Wiki update.

Check which platforms you have built SDK on to verify the correctness of this PR.

  • Linux
  • Windows
  • Android
  • MacOS
  • IOS
  • Other Platforms

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

}

static void TagTestBucket(const Aws::String& bucketName, const std::shared_ptr<S3CrtClient>& client) {
PutBucketTaggingRequest taggingRequest;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

please add

ASSERT_TRUE(!bucketName.empty());
ASSERT_TRUE(client);

just in case...

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

yeah makes sense

#include <aws/s3/model/GetBucketLocationRequest.h>
#include <aws/s3/model/SelectObjectContentRequest.h>
#include <aws/s3/model/WriteGetObjectResponseRequest.h>
#include "aws/s3/model/PutBucketTaggingRequest.h"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

please follow the style of the file.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

whoops, that is clion doing that

Comment thread aws-cpp-sdk-s3-integration-tests/BucketAndObjectOperationTest.cpp
@sbiscigl sbiscigl force-pushed the integration-test-tagging branch from feb437b to abdb48c Compare July 12, 2022 21:52
@sbiscigl sbiscigl force-pushed the integration-test-tagging branch from abdb48c to 5d8dbe5 Compare July 12, 2022 22:04
@sbiscigl sbiscigl force-pushed the integration-test-tagging branch from 5d8dbe5 to 71876f6 Compare July 13, 2022 13:26
@sbiscigl sbiscigl marked this pull request as ready for review July 13, 2022 15:50
@sbiscigl sbiscigl merged commit 3f968a6 into main Jul 13, 2022
@sbiscigl sbiscigl deleted the integration-test-tagging branch July 13, 2022 15:50
jmklix pushed a commit that referenced this pull request Oct 12, 2022
jmklix pushed a commit that referenced this pull request Oct 12, 2022
jmklix pushed a commit that referenced this pull request Aug 11, 2023
amit-schreiber-firebolt pushed a commit to firebolt-analytics/aws-sdk-cpp that referenced this pull request May 8, 2025
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.

2 participants