Skip to content

Commit

Permalink
chore: Rename filenames of integ tests & Improve EventBridge SigV4A i…
Browse files Browse the repository at this point in the history
…nteg tests (#1375)

* Fix EventBridge SigV4A tests to use UUID string for unique names to prevent concurrent modifications to same event buses during Github CI.

* Rename integration test files to reflect new identity resolver names.

* Rename test file to match test class name.

---------

Co-authored-by: Sichan Yoo <chanyoo@amazon.com>
  • Loading branch information
sichanyoo and Sichan Yoo authored Mar 4, 2024
1 parent a6f3d27 commit dd80cb4
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ class EventBridgeSigV4ATests: XCTestCase {
private let secondaryRegion = "us-east-1"

// Name for the EventBridge global endpoint
private let endpointName = "sigv4a-test-global-endpoint"
private let eventBusName = "sigv4a-integ-test-eventbus"
private let endpointName = "sigv4a-test-global-endpoint-\(UUID().uuidString.split(separator: "-").first!.lowercased())"
private let eventBusName = "sigv4a-integ-test-eventbus-\(UUID().uuidString.split(separator: "-").first!.lowercased())"
private var endpointId: String!

private var healthCheckId: String!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

var client: S3Client!

Expand Down

0 comments on commit dd80cb4

Please sign in to comment.