File tree 1 file changed +5
-1
lines changed
IntegrationTests/Services/AWSTranscribeStreamingIntegrationTests
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -19,17 +19,21 @@ final class TranscribeStreamingTests: XCTestCase {
19
19
try await attempt ( )
20
20
}
21
21
22
+ #if !os(Linux)
23
+
22
24
// Concurrent stream transcription frequently fails on the CRT HTTP client with errors
23
25
// such as:
24
- // code: 2058, message: "The connection has closed or is closing."
25
26
// 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.
26
28
func test_25xConcurrent_streamTranscription( ) async throws {
27
29
// By default the TranscribeStreaming service allows 25 concurrent transcriptions.
28
30
// More than that (which can happen when multiple test runs are being performed) will result
29
31
// in throttling / resource exceeded errors, which may be retried (see retry logic below.)
30
32
try await repeatConcurrently ( count: 25 , test: attempt)
31
33
}
32
34
35
+ #endif
36
+
33
37
// MARK: - Private / implementation methods
34
38
35
39
private func performStreamTranscription( ) async throws {
You can’t perform that action at this time.
0 commit comments