From a40c1a487b49443bbd59db70fa6d8e34cfdf7000 Mon Sep 17 00:00:00 2001 From: 0marperez Date: Fri, 5 Dec 2025 11:09:50 -0500 Subject: [PATCH 1/6] misc: smithy version 1.64.0 --- .../runtime/auth/credentials/LoginCredentialsProviderTest.kt | 3 ++- gradle/libs.versions.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/aws-runtime/aws-config/common/test/aws/sdk/kotlin/runtime/auth/credentials/LoginCredentialsProviderTest.kt b/aws-runtime/aws-config/common/test/aws/sdk/kotlin/runtime/auth/credentials/LoginCredentialsProviderTest.kt index d8d0744612c..7f81f1c1449 100644 --- a/aws-runtime/aws-config/common/test/aws/sdk/kotlin/runtime/auth/credentials/LoginCredentialsProviderTest.kt +++ b/aws-runtime/aws-config/common/test/aws/sdk/kotlin/runtime/auth/credentials/LoginCredentialsProviderTest.kt @@ -23,6 +23,7 @@ import kotlin.test.Test import kotlin.test.assertEquals import kotlin.test.assertFailsWith import kotlin.text.encodeToByteArray +import kotlin.time.Duration.Companion.minutes import kotlin.to class LoginCredentialsProviderTest { @@ -35,7 +36,7 @@ class LoginCredentialsProviderTest { } @Test - fun testExpiredToken() = runTest { + fun testExpiredToken() = runTest(timeout = 2.minutes) { val engine = TestConnection() val epoch = "2025-09-15T04:05:45Z" diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 8ce070fbbef..ce829a9f6d7 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -16,7 +16,7 @@ smithy-kotlin-runtime-version = "1.5.21" smithy-kotlin-codegen-version = "0.35.21" # codegen -smithy-version = "1.62.0" +smithy-version = "1.64.0" # testing ddb-local-version = "2.5.2" From bbba151fbf7626f1b1c884c333680b2c3b8c227b Mon Sep 17 00:00:00 2001 From: 0marperez Date: Fri, 5 Dec 2025 12:15:21 -0500 Subject: [PATCH 2/6] add todos --- .../auth/credentials/LoginCredentialsProviderTest.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/aws-runtime/aws-config/common/test/aws/sdk/kotlin/runtime/auth/credentials/LoginCredentialsProviderTest.kt b/aws-runtime/aws-config/common/test/aws/sdk/kotlin/runtime/auth/credentials/LoginCredentialsProviderTest.kt index 7f81f1c1449..d748e03922f 100644 --- a/aws-runtime/aws-config/common/test/aws/sdk/kotlin/runtime/auth/credentials/LoginCredentialsProviderTest.kt +++ b/aws-runtime/aws-config/common/test/aws/sdk/kotlin/runtime/auth/credentials/LoginCredentialsProviderTest.kt @@ -36,7 +36,11 @@ class LoginCredentialsProviderTest { } @Test - fun testExpiredToken() = runTest(timeout = 2.minutes) { + fun testExpiredToken() = runTest( + // TODO: Figure out why this test takes so long to run on some developer machines (@aoperez) + // TODO: Remove custom timeout + timeout = 2.minutes + ) { val engine = TestConnection() val epoch = "2025-09-15T04:05:45Z" From 968f0a076fa77de62f200c8e5fd0753d49ed4556 Mon Sep 17 00:00:00 2001 From: 0marperez Date: Fri, 5 Dec 2025 15:48:38 -0500 Subject: [PATCH 3/6] smithy kotlin version bump --- gradle/libs.versions.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index ce829a9f6d7..2ab6d3a4d52 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -12,8 +12,8 @@ atomicfu-version = "0.29.0" binary-compatibility-validator-version = "0.18.0" # smithy-kotlin codegen and runtime are versioned separately -smithy-kotlin-runtime-version = "1.5.21" -smithy-kotlin-codegen-version = "0.35.21" +smithy-kotlin-runtime-version = "1.5.22" +smithy-kotlin-codegen-version = "0.35.22" # codegen smithy-version = "1.64.0" From 7738a23b2f06260745744702ea0b456df56bc3a5 Mon Sep 17 00:00:00 2001 From: 0marperez Date: Fri, 5 Dec 2025 15:57:01 -0500 Subject: [PATCH 4/6] Rerun CI (newest smithy kotlin version not available yet) From 5a0c38f0f191c61b3f144f72ba72f7b04bb1b0da Mon Sep 17 00:00:00 2001 From: 0marperez Date: Mon, 8 Dec 2025 10:24:08 -0500 Subject: [PATCH 5/6] Rerun CI (newest smithy kotlin version not available yet) From ddffab6ec558c0b0c20c6c3457f2a6b42f42a14e Mon Sep 17 00:00:00 2001 From: 0marperez Date: Mon, 8 Dec 2025 10:42:27 -0500 Subject: [PATCH 6/6] lint --- .../runtime/auth/credentials/LoginCredentialsProviderTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws-runtime/aws-config/common/test/aws/sdk/kotlin/runtime/auth/credentials/LoginCredentialsProviderTest.kt b/aws-runtime/aws-config/common/test/aws/sdk/kotlin/runtime/auth/credentials/LoginCredentialsProviderTest.kt index d748e03922f..19dce8662e2 100644 --- a/aws-runtime/aws-config/common/test/aws/sdk/kotlin/runtime/auth/credentials/LoginCredentialsProviderTest.kt +++ b/aws-runtime/aws-config/common/test/aws/sdk/kotlin/runtime/auth/credentials/LoginCredentialsProviderTest.kt @@ -39,7 +39,7 @@ class LoginCredentialsProviderTest { fun testExpiredToken() = runTest( // TODO: Figure out why this test takes so long to run on some developer machines (@aoperez) // TODO: Remove custom timeout - timeout = 2.minutes + timeout = 2.minutes, ) { val engine = TestConnection()