Skip to content

Commit 08649c9

Browse files
committed
remove ignorenative
1 parent 91bbd50 commit 08649c9

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

aws-runtime/aws-config/common/test/aws/sdk/kotlin/runtime/auth/credentials/LoginCredentialsProviderTest.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ package aws.sdk.kotlin.runtime.auth.credentials
88
import aws.sdk.kotlin.runtime.auth.credentials.internal.credentials
99
import aws.sdk.kotlin.runtime.http.interceptors.businessmetrics.AwsBusinessMetric
1010
import aws.sdk.kotlin.runtime.http.interceptors.businessmetrics.withBusinessMetric
11-
import aws.smithy.kotlin.runtime.IgnoreNative
1211
import aws.smithy.kotlin.runtime.http.Headers
1312
import aws.smithy.kotlin.runtime.http.HttpBody
1413
import aws.smithy.kotlin.runtime.http.HttpStatusCode
@@ -28,15 +27,13 @@ import kotlin.time.Duration.Companion.minutes
2827
import kotlin.to
2928

3029
class 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")

aws-runtime/aws-config/common/test/aws/sdk/kotlin/runtime/auth/credentials/LoginTokenProviderTest.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
package aws.sdk.kotlin.runtime.auth.credentials
77

88
import aws.sdk.kotlin.runtime.client.AwsClientOption
9-
import aws.smithy.kotlin.runtime.IgnoreNative
109
import aws.smithy.kotlin.runtime.http.Headers
1110
import aws.smithy.kotlin.runtime.http.HttpBody
1211
import 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

aws-runtime/aws-config/common/test/aws/sdk/kotlin/runtime/region/DefaultRegionProviderChainTest.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
package aws.sdk.kotlin.runtime.region
77

88
import aws.sdk.kotlin.runtime.util.TestInstanceMetadataProvider
9-
import aws.smithy.kotlin.runtime.IgnoreNative
109
import aws.smithy.kotlin.runtime.util.TestPlatformProvider
1110
import kotlinx.coroutines.test.runTest
1211
import 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

0 commit comments

Comments
 (0)