55
66package aws.smithy.kotlin.runtime.auth.awscredentials
77
8- import aws.smithy.kotlin.runtime.IgnoreNative
98import aws.smithy.kotlin.runtime.collections.Attributes
109import aws.smithy.kotlin.runtime.time.Instant
1110import aws.smithy.kotlin.runtime.time.ManualClock
@@ -37,7 +36,6 @@ class CachedCredentialsProviderTest {
3736 }
3837 }
3938
40- @IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
4139 @Test
4240 fun testLoadFirstCall () = runTest {
4341 // explicit expiration
@@ -52,7 +50,6 @@ class CachedCredentialsProviderTest {
5250 assertEquals(1 , source.callCount)
5351 }
5452
55- @IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
5653 @Test
5754 fun testDefaultExpiration () = runTest {
5855 // expiration should come from the cached provider
@@ -65,7 +62,6 @@ class CachedCredentialsProviderTest {
6562 assertEquals(1 , source.callCount)
6663 }
6764
68- @IgnoreNative // FIXME Re-enable after Kotlin/Native implementation
6965 @Test
7066 fun testReloadExpiredCredentials () = runTest {
7167 val source = TestCredentialsProvider (expiration = testExpiration)
@@ -81,7 +77,6 @@ class CachedCredentialsProviderTest {
8177 assertEquals(2 , source.callCount)
8278 }
8379
84- @IgnoreNative // FIXME Re-enable after Kotlin/Native implementation
8580 @Test
8681 fun testRefreshBufferWindow () = runTest {
8782 val source = TestCredentialsProvider (expiration = testExpiration)
@@ -103,7 +98,6 @@ class CachedCredentialsProviderTest {
10398 assertEquals(2 , source.callCount)
10499 }
105100
106- @IgnoreNative // FIXME Re-enable after Kotlin/Native implementation
107101 @Test
108102 fun testLoadFailed () = runTest {
109103 val source = object : CredentialsProvider {
@@ -126,7 +120,6 @@ class CachedCredentialsProviderTest {
126120 provider.resolve()
127121 }
128122
129- @IgnoreNative // FIXME Re-enable after Kotlin/Native implementation
130123 @Test
131124 fun testItThrowsOnGetCredentialsAfterClose () = runTest {
132125 val source = TestCredentialsProvider (expiration = testExpiration)
@@ -144,7 +137,6 @@ class CachedCredentialsProviderTest {
144137 assertEquals(1 , source.callCount)
145138 }
146139
147- @IgnoreNative // FIXME Re-enable after Kotlin/Native implementation
148140 @Test
149141 fun testCachedConvenienceFunction () = runTest {
150142 val source = TestCredentialsProvider (expiration = testExpiration)
0 commit comments