diff --git a/crt/aws-c-auth b/crt/aws-c-auth index fc4b87655..4cb7127fc 160000 --- a/crt/aws-c-auth +++ b/crt/aws-c-auth @@ -1 +1 @@ -Subproject commit fc4b87655e5cd3921f18d1859193c74af4102071 +Subproject commit 4cb7127fc2fe402310f9b2ccd7719baa348b2a19 diff --git a/crt/aws-c-cal b/crt/aws-c-cal index 1cb941215..9edd8eac2 160000 --- a/crt/aws-c-cal +++ b/crt/aws-c-cal @@ -1 +1 @@ -Subproject commit 1cb9412158890201a6ffceed779f90fe1f48180c +Subproject commit 9edd8eac2b21ca6a04535b91d60d361c2f1bb60f diff --git a/crt/aws-c-common b/crt/aws-c-common index 95515a8b1..d3b926fd8 160000 --- a/crt/aws-c-common +++ b/crt/aws-c-common @@ -1 +1 @@ -Subproject commit 95515a8b1ff40d5bb14f965ca4cbbe99ad1843df +Subproject commit d3b926fd87e6c37887ae12bb2253550334e7445a diff --git a/crt/aws-c-event-stream b/crt/aws-c-event-stream index 66cafb1d8..51bef3c44 160000 --- a/crt/aws-c-event-stream +++ b/crt/aws-c-event-stream @@ -1 +1 @@ -Subproject commit 66cafb1d8bb1bfeb62a7601ce03d1a6fcd4798ed +Subproject commit 51bef3c44e1058b1689751539170b2e0f589ccdb diff --git a/crt/aws-c-http b/crt/aws-c-http index 2a22c94f7..8aefd899f 160000 --- a/crt/aws-c-http +++ b/crt/aws-c-http @@ -1 +1 @@ -Subproject commit 2a22c94f71bfca8dd954ad4fdd96150a3d23efa8 +Subproject commit 8aefd899fc3210bfd0e3fd414011a3cb708bf6e4 diff --git a/src/test/java/software/amazon/awssdk/crt/test/CredentialsProviderTest.java b/src/test/java/software/amazon/awssdk/crt/test/CredentialsProviderTest.java index 0e6e7d82b..0f90b0b26 100644 --- a/src/test/java/software/amazon/awssdk/crt/test/CredentialsProviderTest.java +++ b/src/test/java/software/amazon/awssdk/crt/test/CredentialsProviderTest.java @@ -25,6 +25,8 @@ import java.util.List; import java.util.concurrent.*; +import software.amazon.awssdk.crt.Log; + import static org.junit.Assert.*; import static org.junit.Assert.fail; @@ -297,18 +299,18 @@ public void testCreateDestroyProfile_MissingCreds() throws ExecutionException, I .withConfigFileNameOverride(confPath.toString()).withCredentialsFileNameOverride(credsPath.toString()); try (ProfileCredentialsProvider provider = builder.build()) { - assertNotNull(provider); + assertNotNull("provider is null", provider); assertTrue(provider.getNativeHandle() != 0); try { provider.getCredentials().join(); fail("Expected credential fetching to throw an exception since creds are missing from profile"); } catch (CompletionException e) { - assertNotNull(e.getCause()); + assertNotNull("exception is null", e.getCause()); Throwable innerException = e.getCause(); // Check that the right exception type caused the completion error in the future - assertTrue(innerException.getMessage().contains("Parser encountered an error")); + assertEquals(innerException.getMessage(), "Valid credentials could not be sourced by a profile provider"); assertEquals(CrtRuntimeException.class, innerException.getClass()); } } finally {