File tree Expand file tree Collapse file tree 3 files changed +0
-8
lines changed
aws-runtime/aws-config/common/test/aws/sdk/kotlin/runtime Expand file tree Collapse file tree 3 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ package aws.sdk.kotlin.runtime.auth.credentials
88import aws.sdk.kotlin.runtime.auth.credentials.internal.credentials
99import aws.sdk.kotlin.runtime.http.interceptors.businessmetrics.AwsBusinessMetric
1010import aws.sdk.kotlin.runtime.http.interceptors.businessmetrics.withBusinessMetric
11- import aws.smithy.kotlin.runtime.IgnoreNative
1211import aws.smithy.kotlin.runtime.http.Headers
1312import aws.smithy.kotlin.runtime.http.HttpBody
1413import aws.smithy.kotlin.runtime.http.HttpStatusCode
@@ -28,15 +27,13 @@ import kotlin.time.Duration.Companion.minutes
2827import kotlin.to
2928
3029class LoginCredentialsProviderTest {
31- @IgnoreNative
3230 @Test
3331 fun testCacheFilename () {
3432 val expected = " 36db1d138ff460920374e4c3d8e01f53f9f73537e89c88d639f68393df0e2726.json"
3533 val actual = getLoginCacheFilename(" arn:aws:iam::0123456789012:user/Admin" )
3634 assertEquals(expected, actual)
3735 }
3836
39- @IgnoreNative
4037 @Test
4138 fun testExpiredToken () = runTest(
4239 // TODO: Figure out why this test takes so long to run on some developer machines (@aoperez)
@@ -84,7 +81,6 @@ class LoginCredentialsProviderTest {
8481 }.message.shouldMatch(Regex (" Login token for login-session: .* is expired" ))
8582 }
8683
87- @IgnoreNative
8884 @Test
8985 fun testSuccess () = runTest {
9086 val expectedExpiration = Instant .fromIso8601(" 2020-10-16T04:56:00Z" )
Original file line number Diff line number Diff line change 66package aws.sdk.kotlin.runtime.auth.credentials
77
88import aws.sdk.kotlin.runtime.client.AwsClientOption
9- import aws.smithy.kotlin.runtime.IgnoreNative
109import aws.smithy.kotlin.runtime.http.Headers
1110import aws.smithy.kotlin.runtime.http.HttpBody
1211import aws.smithy.kotlin.runtime.http.HttpStatusCode
@@ -96,7 +95,6 @@ class LoginTokenProviderTest {
9695 data class Error (val message : String ) : TestOutcome()
9796 }
9897
99- @IgnoreNative
10098 @Test
10199 fun testLoginTokenCacheBehavior () = runTest(timeout = 2 .minutes) {
102100 val testList = Json .parseToJsonElement(LOGIN_TOKEN_PROVIDER_TEST_SUITE ).jsonArray
Original file line number Diff line number Diff line change 66package aws.sdk.kotlin.runtime.region
77
88import aws.sdk.kotlin.runtime.util.TestInstanceMetadataProvider
9- import aws.smithy.kotlin.runtime.IgnoreNative
109import aws.smithy.kotlin.runtime.util.TestPlatformProvider
1110import kotlinx.coroutines.test.runTest
1211import kotlinx.serialization.json.*
@@ -22,7 +21,6 @@ class DefaultRegionProviderChainTest {
2221 val targets : List <String > = emptyList(),
2322 )
2423
25- @IgnoreNative
2624 @Test
2725 fun testSuite () = runTest {
2826 val tests = Json .parseToJsonElement(REGION_PROVIDER_CHAIN_TEST_SUITE ).jsonArray
You can’t perform that action at this time.
0 commit comments