Skip to content

Commit

Permalink
initalize logging to trace error
Browse files Browse the repository at this point in the history
  • Loading branch information
dayaffe committed Nov 20, 2024
1 parent c5b8d59 commit c3b7b3b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import AWSIntegrationTestUtils
import Foundation
import AWSTranscribeStreaming
import protocol AWSClientRuntime.AWSServiceError
import AwsCommonRuntimeKit

final class TranscribeStreamingTests: XCTestCase {

Expand All @@ -24,6 +25,7 @@ final class TranscribeStreamingTests: XCTestCase {
// code: 2058, message: "The connection has closed or is closing."
// code: 2087, message: "Stream acquisition failed because stream manager failed to acquire a connection"
func test_25xConcurrent_streamTranscription() async throws {
try Logger.initialize(target: .standardOutput, level: .trace)
// By default the TranscribeStreaming service allows 25 concurrent transcriptions.
// More than that (which can happen when multiple test runs are being performed) will result
// in throttling / resource exceeded errors, which may be retried (see retry logic below.)
Expand Down

0 comments on commit c3b7b3b

Please sign in to comment.