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

chore: Rename filenames of integ tests & Improve EventBridge SigV4A integ tests #1375

Merged

Conversation

sichanyoo
Copy link
Contributor

@sichanyoo sichanyoo commented Mar 2, 2024

Issue #

Description of changes

EventBridge SigV4 integration test improvement:

  • Add UUID string suffix to the endpoint name and event bus names used in EventBridge SigV4A integration tests.
    This is required to allow Github CI to run the tests in multiple platforms in parallel. Otherwise, spurious failures may occur due to concurrent modifications to the same eventbuses.

Rename integration tests that used to use "credentials provider" naming convention to now use "aws credential identity resolver" naming convention.

  • ECSCredentialsProviderTests -> ECSAWSCredentialIdentityResolverTests
  • SSOCredentialsProviderTests -> SSOAWSCredentialIdentityResolverTests
  • ProcessCredentialsProviderTests -> ProcessAWSCredentialIdentityResolverTests
  • STSWebIdentityCredentialsProviderTests -> STSWebIdentityAWSCredentialIdentityResolverTests

New/existing dependencies impact assessment, if applicable

Conventional Commits

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

…revent concurrent modifications to same event buses during Github CI.
@sichanyoo sichanyoo temporarily deployed to Codegen-Build-Test March 2, 2024 02:07 — with GitHub Actions Inactive
@sichanyoo sichanyoo temporarily deployed to Integration-Test March 2, 2024 02:07 — with GitHub Actions Inactive
@sichanyoo sichanyoo temporarily deployed to Integration-Test March 2, 2024 02:07 — with GitHub Actions Inactive
@sichanyoo sichanyoo temporarily deployed to Integration-Test March 2, 2024 02:07 — with GitHub Actions Inactive
@sichanyoo sichanyoo temporarily deployed to Integration-Test March 2, 2024 02:07 — with GitHub Actions Inactive
@sichanyoo sichanyoo temporarily deployed to Codegen-Build-Test March 2, 2024 02:25 — with GitHub Actions Inactive
@sichanyoo sichanyoo temporarily deployed to Integration-Test March 2, 2024 02:25 — with GitHub Actions Inactive
@sichanyoo sichanyoo temporarily deployed to Integration-Test March 2, 2024 02:25 — with GitHub Actions Inactive
@sichanyoo sichanyoo temporarily deployed to Integration-Test March 2, 2024 02:25 — with GitHub Actions Inactive
@sichanyoo sichanyoo temporarily deployed to Integration-Test March 2, 2024 02:25 — with GitHub Actions Inactive
@sichanyoo sichanyoo changed the title fix: Make EventBridge SigV4A integ tests use unique endpoint & event buses chore: Rename tests & Improve EventBridge SigV4A integ tests Mar 2, 2024
@sichanyoo sichanyoo changed the title chore: Rename tests & Improve EventBridge SigV4A integ tests chore: Rename filenames of integ tests & Improve EventBridge SigV4A integ tests Mar 2, 2024
@@ -11,7 +11,7 @@ import AWSS3
import AWSClientRuntime

// Please provide your-access-key and your-secret-key in Resources/credenitals
class ProcessCredentialProviderTests: XCTestCase {
class ProcessAWSCredentialIdentityResolverTests: XCTestCase {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should the file be renamed to match the test class?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed to match the name.

@sichanyoo sichanyoo temporarily deployed to Codegen-Build-Test March 4, 2024 16:29 — with GitHub Actions Inactive
@sichanyoo sichanyoo temporarily deployed to Integration-Test March 4, 2024 16:29 — with GitHub Actions Inactive
@sichanyoo sichanyoo temporarily deployed to Integration-Test March 4, 2024 16:29 — with GitHub Actions Inactive
@sichanyoo sichanyoo temporarily deployed to Integration-Test March 4, 2024 16:29 — with GitHub Actions Inactive
@sichanyoo sichanyoo temporarily deployed to Integration-Test March 4, 2024 16:29 — with GitHub Actions Inactive
@sichanyoo sichanyoo requested a review from jbelkins March 4, 2024 16:30
Copy link
Contributor

@jbelkins jbelkins left a comment

Choose a reason for hiding this comment

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

Approved pending green build

@sichanyoo sichanyoo merged commit dd80cb4 into main Mar 4, 2024
17 checks passed
@sichanyoo sichanyoo deleted the fix/make-eventbridge-integ-test-use-unique-bus-names branch March 4, 2024 18:55
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