From 2e99dbf39429a3af649b3bacd31b39ba9c73f9ee Mon Sep 17 00:00:00 2001 From: David Yaffe Date: Mon, 25 Sep 2023 17:47:02 -0400 Subject: [PATCH 1/3] add ability to configure timeout in AWSClientConfiguration --- Package.swift | 2 +- .../AWSClientConfiguration.swift | 27 ++++++++++++++----- .../AWSClientConfigurationTests.swift | 9 +++++++ 3 files changed, 31 insertions(+), 7 deletions(-) diff --git a/Package.swift b/Package.swift index f9f5e768b40..51b8921d4bd 100644 --- a/Package.swift +++ b/Package.swift @@ -68,7 +68,7 @@ func addClientRuntimeDependency(_ version: Version) { ] case (false, true): package.dependencies += [ - .package(url: smithySwiftURL, .branch("main")) + .package(url: smithySwiftURL, .branch("day/expose-timeout")) ] case (false, false): package.dependencies += [ diff --git a/Sources/Core/AWSClientRuntime/AWSClientConfiguration.swift b/Sources/Core/AWSClientRuntime/AWSClientConfiguration.swift index d92d6964f0a..aedeb005d5e 100644 --- a/Sources/Core/AWSClientRuntime/AWSClientConfiguration.swift +++ b/Sources/Core/AWSClientRuntime/AWSClientConfiguration.swift @@ -102,6 +102,11 @@ public class AWSClientConfiguration @@ -128,8 +134,13 @@ public class AWSClientConfiguration Date: Mon, 25 Sep 2023 17:59:39 -0400 Subject: [PATCH 2/3] configure smithy-swift branch for testing --- Package.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Package.swift b/Package.swift index 51b8921d4bd..6e0a6d5e995 100644 --- a/Package.swift +++ b/Package.swift @@ -68,11 +68,11 @@ func addClientRuntimeDependency(_ version: Version) { ] case (false, true): package.dependencies += [ - .package(url: smithySwiftURL, .branch("day/expose-timeout")) + .package(url: smithySwiftURL, .branch("main")) ] case (false, false): package.dependencies += [ - .package(url: smithySwiftURL, .exact(version)) + .package(url: smithySwiftURL, .branch("day/expose-timeout")) ] } } From b8d4c57e50953a816dce0ba9bec94cdff5f8ae67 Mon Sep 17 00:00:00 2001 From: David Yaffe Date: Mon, 25 Sep 2023 18:31:12 -0400 Subject: [PATCH 3/3] revert package.swift change --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 6e0a6d5e995..f9f5e768b40 100644 --- a/Package.swift +++ b/Package.swift @@ -72,7 +72,7 @@ func addClientRuntimeDependency(_ version: Version) { ] case (false, false): package.dependencies += [ - .package(url: smithySwiftURL, .branch("day/expose-timeout")) + .package(url: smithySwiftURL, .exact(version)) ] } }