From 83fa87bf89b2e39bc62ae90f20167684ea9f36bc Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Thu, 16 Jan 2025 16:49:43 -0600 Subject: [PATCH 1/3] Run 24x Linux int tests --- .github/workflows/integration-test.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index ec7ce42a0df..ac15e11fdd7 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -16,6 +16,7 @@ permissions: jobs: apple: + if: false if: github.repository == 'awslabs/aws-sdk-swift' || github.event_name == 'pull_request' runs-on: ${{ matrix.runner }} strategy: @@ -145,6 +146,19 @@ jobs: matrix: os: - jammy + n: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 version: - "5.9" - "6.0" @@ -207,4 +221,4 @@ jobs: - name: Run Integration Tests run: | cd aws-sdk-swift/IntegrationTests - swift test \ No newline at end of file + swift test From 0927bdb19117f67c39cf6f91cffaf1fe955dbf47 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Thu, 16 Jan 2025 16:54:06 -0600 Subject: [PATCH 2/3] fix yaml --- .github/workflows/integration-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index ac15e11fdd7..ea09e27a47e 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -17,7 +17,7 @@ permissions: jobs: apple: if: false - if: github.repository == 'awslabs/aws-sdk-swift' || github.event_name == 'pull_request' + # if: github.repository == 'awslabs/aws-sdk-swift' || github.event_name == 'pull_request' runs-on: ${{ matrix.runner }} strategy: fail-fast: false From 64b60ed970fb77964f8f5fabb381728944d916a2 Mon Sep 17 00:00:00 2001 From: Josh Elkins Date: Thu, 16 Jan 2025 17:32:31 -0600 Subject: [PATCH 3/3] Add a failure message to transcribe streaming test --- .../TranscribeStreamingTests.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/IntegrationTests/Services/AWSTranscribeStreamingIntegrationTests/TranscribeStreamingTests.swift b/IntegrationTests/Services/AWSTranscribeStreamingIntegrationTests/TranscribeStreamingTests.swift index b294cd8e11e..cc13dfbfbc5 100644 --- a/IntegrationTests/Services/AWSTranscribeStreamingIntegrationTests/TranscribeStreamingTests.swift +++ b/IntegrationTests/Services/AWSTranscribeStreamingIntegrationTests/TranscribeStreamingTests.swift @@ -101,7 +101,10 @@ final class TranscribeStreamingTests: XCTestCase { "Hello transcribed streaming from swift sdk.", "Hello transcribes streaming from Swift SDK.", ] - XCTAssertTrue(candidates.contains(where: { $0.lowercased() == fullMessage.lowercased() })) + XCTAssertTrue( + candidates.contains { $0.lowercased() == fullMessage.lowercased() }, + "The transcription \"\(fullMessage)\" does not match any of the expected forms: [\(candidates.map { "\"\($0)\"" }.joined(separator: ", "))]" + ) } // Performs the stream transcription, with retry for selected errors associated with