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: remove custom retry logic to make .NET Framework tests working #20

Merged
merged 1 commit into from
May 7, 2021

Conversation

ganeshnj
Copy link
Contributor

@ganeshnj ganeshnj commented May 6, 2021

Description

  • use GUID for bucket suffix to avoid timestamp based collisions
  • Custom retry logic for some reason forcing retry failures. Now we depend on SDK retries like .NET Standard test cases. Verified in my account, .NET Framework tests pass.
  • use us-west-2 as default region

Motivation and Context

Testing

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have read the README document
  • I have added tests to cover my changes
  • All new and existing tests passed

License

  • I confirm that this pull request can be released under the Apache 2 license

- use GUID for bucket suffix to avoid timestamp based collisions
@ppittle ppittle self-requested a review May 6, 2021 01:05
@@ -92,49 +92,37 @@ public EncryptionTestsV1InteropV1N() : base(KmsKeyIdProvider.Instance)

s3EncryptionClientMetadataModeAsymmetricWrapV1 =
new Amazon.S3.Encryption.AmazonS3EncryptionClient(asymmetricEncryptionMaterialsV1);
RetryUtilities.ForceConfigureClient(s3EncryptionClientMetadataModeAsymmetricWrapV1);
Copy link
Member

Choose a reason for hiding this comment

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

is ForceConfigureClient still used or could the entire method also be removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The whole file containing RetryUtilities is deleted. Nothing left behind.

@96malhar 96malhar self-requested a review May 6, 2021 17:26
@ashovlin ashovlin self-requested a review May 7, 2021 17:29
@ganeshnj ganeshnj merged commit 5392dca into main May 7, 2021
@ganeshnj ganeshnj deleted the remove-retry branch May 7, 2021 19:45
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