diff --git a/.changes/963ddb76-2622-44d7-bb41-3439a5f033a5.json b/.changes/963ddb76-2622-44d7-bb41-3439a5f033a5.json new file mode 100644 index 00000000..2e5322ab --- /dev/null +++ b/.changes/963ddb76-2622-44d7-bb41-3439a5f033a5.json @@ -0,0 +1,5 @@ +{ + "id": "963ddb76-2622-44d7-bb41-3439a5f033a5", + "type": "misc", + "description": "Upgrade aws-crt-java to 0.31.3" +} \ No newline at end of file diff --git a/aws-crt-kotlin/jvm/test/aws/sdk/kotlin/crt/auth/credentials/ProfileCredentialsProviderTest.kt b/aws-crt-kotlin/jvm/test/aws/sdk/kotlin/crt/auth/credentials/ProfileCredentialsProviderTest.kt index 3db7b701..64eb9f0b 100644 --- a/aws-crt-kotlin/jvm/test/aws/sdk/kotlin/crt/auth/credentials/ProfileCredentialsProviderTest.kt +++ b/aws-crt-kotlin/jvm/test/aws/sdk/kotlin/crt/auth/credentials/ProfileCredentialsProviderTest.kt @@ -19,6 +19,7 @@ class ProfileCredentialsProviderTest { @Test fun `it should create a provider for a valid profile`() = runBlocking { + val configPath = Files.createTempFile("ProfileCredentialsProviderTest_config", "") val credsPath = Files.createTempFile("ProfileCredentialsProviderTest_creds", "") credsPath.toFile().writeText( """ @@ -30,6 +31,7 @@ class ProfileCredentialsProviderTest { try { val provider = ProfileCredentialsProvider.build { + configFileName = configPath.toString() credentialsFileName = credsPath.toString() } val actual = provider.getCredentials() diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 71d407a0..9b6ee867 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -4,7 +4,7 @@ kotlin-version = "2.0.21" aws-kotlin-repo-tools-version = "0.4.12" # libs -crt-java-version = "0.30.5" +crt-java-version = "0.31.3" coroutines-version = "1.9.0" # testing