Skip to content

Commit 58cef3b

Browse files
authored
chore: Disable the 25x transcribe streaming test on Linux (#1876)
1 parent 3da2ffa commit 58cef3b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: IntegrationTests/Services/AWSTranscribeStreamingIntegrationTests/TranscribeStreamingTests.swift

+5-1
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,21 @@ final class TranscribeStreamingTests: XCTestCase {
1919
try await attempt()
2020
}
2121

22+
#if !os(Linux)
23+
2224
// Concurrent stream transcription frequently fails on the CRT HTTP client with errors
2325
// such as:
24-
// code: 2058, message: "The connection has closed or is closing."
2526
// code: 2087, message: "Stream acquisition failed because stream manager failed to acquire a connection"
27+
// This test is disabled on Linux until a solution can be found for this error.
2628
func test_25xConcurrent_streamTranscription() async throws {
2729
// By default the TranscribeStreaming service allows 25 concurrent transcriptions.
2830
// More than that (which can happen when multiple test runs are being performed) will result
2931
// in throttling / resource exceeded errors, which may be retried (see retry logic below.)
3032
try await repeatConcurrently(count: 25, test: attempt)
3133
}
3234

35+
#endif
36+
3337
// MARK: - Private / implementation methods
3438

3539
private func performStreamTranscription() async throws {

0 commit comments

Comments
 (0)