Skip to content

Commit

Permalink
remove default test, info is not available outside of CRT
Browse files Browse the repository at this point in the history
  • Loading branch information
dayaffe committed Sep 26, 2023
1 parent 54a6b1c commit 2ef3729
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions Tests/Core/AWSClientRuntimeTests/AWSClientConfigurationTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,6 @@ class AWSClientConfigurationTests: XCTestCase {

// MARK: - Timeout

func test_sync_defaultTimeout() throws {
let subject = try Subject(region: region)

#if os(iOS) || os(watchOS)
// default in smithy-swift Sources/ClientRuntime/Networking/Http/CRT/CRTClientEngine.swift#L57
XCTAssertEqual(subject.connectTimeoutMs, 30_000)
#else
// default in SocketOptions class
XCTAssertEqual(subject.connectTimeoutMs, 3_000)
#endif
}

func test_sync_configureTimeoutOptionsFromParams() throws {
let customTimeout: UInt32 = 10_000
let subject = try Subject(region: region, connectTimeoutMs: customTimeout)
Expand Down

0 comments on commit 2ef3729

Please sign in to comment.