Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
a4734c7
fix: create JMESPATH flattenIfPossible functions for Lists (#1169)
0marperez Dec 16, 2024
7911a94
chore: release 1.3.30
aws-sdk-kotlin-ci Dec 16, 2024
7085c8a
chore: bump snapshot version to 1.3.31-SNAPSHOT
aws-sdk-kotlin-ci Dec 16, 2024
4575023
misc: enhance support for replayable instances of `InputStream` (#1197)
lauzadis Dec 18, 2024
b0a4bac
chore: release 1.3.31
aws-sdk-kotlin-ci Dec 18, 2024
80f4538
chore: bump snapshot version to 1.3.32-SNAPSHOT
aws-sdk-kotlin-ci Dec 18, 2024
e9d16a9
fix: CBOR protocol test assertions / blob serialization (#1198)
lauzadis Dec 18, 2024
48849a1
fix: correctly serialize subset of shape's members when configured (#…
lauzadis Jan 6, 2025
ded3a4b
chore: release 1.3.32
aws-sdk-kotlin-ci Jan 6, 2025
d97e8ba
chore: bump snapshot version to 1.3.33-SNAPSHOT
aws-sdk-kotlin-ci Jan 6, 2025
78f17f3
chore: add *-main to branch workflows (#1209)
ianbotsf Jan 8, 2025
d06ee0a
chore: add .kotlin/ to .gitignore (#1208)
ianbotsf Jan 8, 2025
d2e7c91
chore: smithy version bump (#1213)
0marperez Jan 10, 2025
5a2df8f
chore: release 1.3.33
aws-sdk-kotlin-ci Jan 10, 2025
003633b
chore: bump snapshot version to 1.3.34-SNAPSHOT
aws-sdk-kotlin-ci Jan 10, 2025
5f5ec8f
feat: add `AuthTokenGenerator` (#1212)
lauzadis Jan 10, 2025
3fe1b5e
chore: release 1.3.34
aws-sdk-kotlin-ci Jan 10, 2025
0bba308
chore: bump snapshot version to 1.3.35-SNAPSHOT
aws-sdk-kotlin-ci Jan 10, 2025
52e4439
misc: merge v1.4 into main (#1218)
0marperez Jan 15, 2025
e0c25d6
feat: support default checksums (#1191)
0marperez Jan 15, 2025
14e0958
chore: release 1.4.0
aws-sdk-kotlin-ci Jan 15, 2025
ed95d7b
chore: bump snapshot version to 1.4.1-SNAPSHOT
aws-sdk-kotlin-ci Jan 15, 2025
a4ace35
fix: add 0.9.x aws-crt-kotlin transform (#1220)
lauzadis Jan 16, 2025
15e5f0c
fix: Ensure `Host` header is included when signing auth tokens (#1222)
lauzadis Jan 16, 2025
447ac10
chore: release 1.4.1
aws-sdk-kotlin-ci Jan 16, 2025
0f8db44
chore: bump snapshot version to 1.4.2-SNAPSHOT
aws-sdk-kotlin-ci Jan 16, 2025
8b33693
fix: address various failing protocol tests (#1223)
lauzadis Jan 23, 2025
03badf9
misc: re-enable `kotlinWarningsAsErrors=true` (#1224)
lauzadis Jan 23, 2025
9f44cdb
fix: ignore hop-by-hop headers when signing requests (#1227)
ianbotsf Jan 28, 2025
97ac447
chore: release 1.4.2
aws-sdk-kotlin-ci Jan 28, 2025
b7e50e3
chore: bump snapshot version to 1.4.3-SNAPSHOT
aws-sdk-kotlin-ci Jan 28, 2025
e6357f9
misc: add telemetry configuration to DefaultAwsSigner (#1226)
xinsong-cui Jan 30, 2025
6d4f3b9
Unignore tests which pass now
lauzadis Feb 4, 2025
9d6857b
misc: gradle mirror (#1204)
0marperez Feb 4, 2025
ab66141
Ignore flaky test
lauzadis Feb 4, 2025
c082cde
Unignore more tests
lauzadis Feb 4, 2025
d886c10
Merge branch 'kn-main' of github.com:smithy-lang/smithy-kotlin into k…
lauzadis Feb 4, 2025
6f51c2c
Allow unpadded day of month
lauzadis Feb 4, 2025
7918a4d
Oct 6 2023 was a FRIDAY!
lauzadis Feb 4, 2025
ba7bfa4
Re-enable more tests
lauzadis Feb 4, 2025
1f271bf
Re-enable way more tests
lauzadis Feb 4, 2025
617aa4c
ktlint
lauzadis Feb 4, 2025
404f199
re-ignore `testStreamNotConsumed`
lauzadis Feb 4, 2025
cc91c32
Fix `testFormatAsRfc5322`
lauzadis Feb 5, 2025
2c6a587
Disable signing tests
lauzadis Feb 5, 2025
c64d203
Catch kotlinx.datetime.DateTimeFormatException, throw aws.smithy.kotl…
lauzadis Feb 5, 2025
de0bf7a
re-ignore AwsChunkedByteReadChannelTestBase
lauzadis Feb 5, 2025
49f44bf
ktlint
lauzadis Feb 5, 2025
2942895
Disable more tests
lauzadis Feb 5, 2025
49663c0
Ignore signingKey test
lauzadis Feb 5, 2025
5daf945
Ignore AwsHttpSignerTestBase
lauzadis Feb 5, 2025
5e3d785
testStreamError
lauzadis Feb 5, 2025
dc65792
Update JVM `Instant` min/max values to be equal to Native's
lauzadis Feb 5, 2025
eb971de
Re-enable flaky test
lauzadis Feb 5, 2025
2197a75
Re-enable testSigningKey after fixing Native's fromIso8601 implementa…
lauzadis Feb 5, 2025
a50fced
ktlint
lauzadis Feb 5, 2025
a1e373e
Add KotlinxDatetimeJvm transform
lauzadis Feb 6, 2025
75db9e6
Add -jvm
lauzadis Feb 6, 2025
6ca94cc
Remove `lazy`
lauzadis Feb 6, 2025
b5ee369
kt
lauzadis Feb 6, 2025
5323882
fix: correctly check equality for CaseInsensitiveMap (#1235)
ianbotsf Feb 6, 2025
84f3ae3
Merge branch 'main' of github.com:smithy-lang/smithy-kotlin into kn-u…
lauzadis Feb 6, 2025
eceec2e
CI
lauzadis Feb 6, 2025
1dc4a45
Configure Gradle with working directory
lauzadis Feb 6, 2025
1af0e82
misc: gradle version bump (#1236)
0marperez Feb 7, 2025
120768c
fix: correct hash code calculation for case-insensitive map entries (…
ianbotsf Feb 8, 2025
27b21ab
Merge branch 'main' of github.com:smithy-lang/smithy-kotlin into kn-u…
lauzadis Feb 10, 2025
ab3e7e7
Revert `.toList()` workaround
lauzadis Feb 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .brazil.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"dependencies": {
"org.jetbrains.kotlin:kotlin-stdlib:2.*": "KotlinStdlib-2.x",
"org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.*": "KotlinxCoroutinesCoreJvm-1.x",

"com.squareup.okhttp3:okhttp-coroutines:5.*": "OkHttp3Coroutines-5.x",
"com.squareup.okhttp3:okhttp:5.*": "OkHttp3-5.x",
"com.squareup.okio:okio-jvm:3.*": "OkioJvm-3.x",
"io.opentelemetry:opentelemetry-api:1.*": "Maven-io-opentelemetry_opentelemetry-api-1.x",
"org.slf4j:slf4j-api:2.*": "Maven-org-slf4j_slf4j-api-2.x",
"aws.sdk.kotlin.crt:aws-crt-kotlin:0.9.*": "AwsCrtKotlin-0.9.x",
"aws.sdk.kotlin.crt:aws-crt-kotlin:0.8.*": "AwsCrtKotlin-0.8.x",
"com.squareup.okhttp3:okhttp:4.*": "OkHttp3-4.x"
"com.squareup.okhttp3:okhttp:4.*": "OkHttp3-4.x",
"org.jetbrains.kotlinx:kotlinx-datetime-jvm:0.*": "KotlinxDatetimeJvm-0.x"
},
"packageHandlingRules": {
"versioning": {
Expand Down
5 changes: 5 additions & 0 deletions .changes/4820850c-8916-47f5-a7e1-8880e6a00d22.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"id": "4820850c-8916-47f5-a7e1-8880e6a00d22",
"type": "bugfix",
"description": "Fix errors in equality checks for `CaseInsensitiveMap` which affect `Headers` and `ValuesMap` implementations"
}
5 changes: 5 additions & 0 deletions .changes/c0040355-ffdc-4813-80e9-baf859ef02b9.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"id": "c0040355-ffdc-4813-80e9-baf859ef02b9",
"type": "bugfix",
"description": "fix: correct hash code calculation for case-insensitive map entries"
}
4 changes: 4 additions & 0 deletions .github/workflows/artifact-size-metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
with:
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
aws-region: us-west-2
- name: Configure Gradle
uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
- name: Generate Artifact Size Metrics
run: ./gradlew artifactSizeMetrics
- name: Save Artifact Size Metrics
Expand All @@ -54,6 +56,8 @@ jobs:
with:
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
aws-region: us-west-2
- name: Configure Gradle
uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
- name: Generate Artifact Size Metrics
run: ./gradlew -Paws.kotlin.native=false artifactSizeMetrics
- name: Analyze Artifact Size Metrics
Expand Down
28 changes: 23 additions & 5 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ jobs:
with:
path: 'smithy-kotlin'

- name: Configure Gradle
uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
with:
working-directory: 'smithy-kotlin'

- name: Setup build
uses: ./smithy-kotlin/.github/actions/setup-build

Expand Down Expand Up @@ -152,12 +157,10 @@ jobs:
- name: Setup build
uses: ./smithy-kotlin/.github/actions/setup-build

- name: Configure JDK
uses: actions/setup-java@v3
- name: Configure Gradle
uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
with:
distribution: 'corretto'
java-version: 17
cache: 'gradle'
working-directory: 'smithy-kotlin'

- name: Test
working-directory: ./smithy-kotlin
Expand Down Expand Up @@ -186,6 +189,11 @@ jobs:
- name: Setup build
uses: ./smithy-kotlin/.github/actions/setup-build

- name: Configure Gradle
uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
with:
working-directory: 'smithy-kotlin'

- name: Test
working-directory: ./smithy-kotlin
shell: bash
Expand All @@ -211,6 +219,16 @@ jobs:
path: 'aws-sdk-kotlin'
repository: 'awslabs/aws-sdk-kotlin'

- name: Configure Gradle - smithy-kotlin
uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
with:
working-directory: ./smithy-kotlin

- name: Configure Gradle - aws-sdk-kotlin
uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
with:
working-directory: ./aws-sdk-kotlin

- name: Build and Test aws-sdk-kotlin downstream
working-directory: ./smithy-kotlin
run: |
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/kat-transform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ jobs:
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
aws-region: us-west-2

- name: Configure Gradle
uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
with:
working-directory: ./smithy-kotlin

- name: Setup kat
uses: awslabs/aws-kotlin-repo-tools/.github/actions/setup-kat@main

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Configure Gradle
uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
- name: Lint ${{ env.PACKAGE_NAME }}
run: |
./gradlew ktlint
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
distributionUrl=https://services.gradle.org/distributions/gradle-8.12.1-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

package aws.smithy.kotlin.runtime.auth.awscredentials

import aws.smithy.kotlin.runtime.IgnoreNative
import aws.smithy.kotlin.runtime.collections.Attributes
import aws.smithy.kotlin.runtime.time.Instant
import aws.smithy.kotlin.runtime.time.ManualClock
Expand Down Expand Up @@ -37,7 +36,6 @@ class CachedCredentialsProviderTest {
}
}

@IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
@Test
fun testLoadFirstCall() = runTest {
// explicit expiration
Expand All @@ -52,7 +50,6 @@ class CachedCredentialsProviderTest {
assertEquals(1, source.callCount)
}

@IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
@Test
fun testDefaultExpiration() = runTest {
// expiration should come from the cached provider
Expand All @@ -65,7 +62,6 @@ class CachedCredentialsProviderTest {
assertEquals(1, source.callCount)
}

@IgnoreNative // FIXME Re-enable after Kotlin/Native implementation
@Test
fun testReloadExpiredCredentials() = runTest {
val source = TestCredentialsProvider(expiration = testExpiration)
Expand All @@ -81,7 +77,6 @@ class CachedCredentialsProviderTest {
assertEquals(2, source.callCount)
}

@IgnoreNative // FIXME Re-enable after Kotlin/Native implementation
@Test
fun testRefreshBufferWindow() = runTest {
val source = TestCredentialsProvider(expiration = testExpiration)
Expand All @@ -103,7 +98,6 @@ class CachedCredentialsProviderTest {
assertEquals(2, source.callCount)
}

@IgnoreNative // FIXME Re-enable after Kotlin/Native implementation
@Test
fun testLoadFailed() = runTest {
val source = object : CredentialsProvider {
Expand All @@ -126,7 +120,6 @@ class CachedCredentialsProviderTest {
provider.resolve()
}

@IgnoreNative // FIXME Re-enable after Kotlin/Native implementation
@Test
fun testItThrowsOnGetCredentialsAfterClose() = runTest {
val source = TestCredentialsProvider(expiration = testExpiration)
Expand All @@ -144,7 +137,6 @@ class CachedCredentialsProviderTest {
assertEquals(1, source.callCount)
}

@IgnoreNative // FIXME Re-enable after Kotlin/Native implementation
@Test
fun testCachedConvenienceFunction() = runTest {
val source = TestCredentialsProvider(expiration = testExpiration)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/
package aws.smithy.kotlin.runtime.auth.awssigning

import aws.smithy.kotlin.runtime.IgnoreNative
import aws.smithy.kotlin.runtime.auth.awscredentials.Credentials
import aws.smithy.kotlin.runtime.auth.awscredentials.CredentialsProvider
import aws.smithy.kotlin.runtime.client.endpoints.Endpoint
Expand All @@ -25,14 +24,12 @@ import kotlin.test.assertTrue
class PresignerTest {
// Verify that custom endpoint URL schemes aren't changed.
// See https://github.com/awslabs/aws-sdk-kotlin/issues/938
@IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
@Test
fun testSignedUrlAllowsHttp() = testSigningUrl("http://localhost:8080/path/to/resource?foo=bar")

// Verify that custom endpoint URL schemes aren't changed.
// See https://github.com/awslabs/aws-sdk-kotlin/issues/938
@Test
@IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
fun testSignedUrlAllowsHttps() = testSigningUrl("https://localhost:8088/path/to/resource?bar=foo")

private fun testSigningUrl(url: String) = runTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/
package aws.smithy.kotlin.runtime.auth.awssigning

import aws.smithy.kotlin.runtime.IgnoreNative
import aws.smithy.kotlin.runtime.auth.awscredentials.Credentials
import aws.smithy.kotlin.runtime.auth.awssigning.tests.DEFAULT_TEST_CREDENTIALS
import aws.smithy.kotlin.runtime.http.Headers
Expand All @@ -23,7 +22,6 @@ import kotlin.test.assertEquals

class DefaultCanonicalizerTest {
// Test adapted from https://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html
@IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
@Test
fun testCanonicalize() = runTest {
val request = HttpRequest {
Expand Down Expand Up @@ -84,7 +82,6 @@ class DefaultCanonicalizerTest {
}

// Targeted test for proper URI path escaping. See https://github.com/smithy-lang/smithy-kotlin/issues/657
@IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
@Test
fun testEscapablePath() {
val uri = Url.Builder()
Expand All @@ -101,7 +98,6 @@ class DefaultCanonicalizerTest {
assertEquals("/2013-04-01/healthcheck/foo%253Cbar%253Ebaz%253C%252Fbar%253E", uri.canonicalPath(config))
}

@IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
@Test
fun testCanonicalPath() {
val config = AwsSigningConfig {
Expand All @@ -117,7 +113,6 @@ class DefaultCanonicalizerTest {
assertEquals("/foo/%40bar/baz%253Cqux%253Aquux", uri.canonicalPath(config))
}

@IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
@Test
fun testCanonicalQueryParams() {
Url.Builder().apply {
Expand All @@ -132,7 +127,6 @@ class DefaultCanonicalizerTest {
}
}

@IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
@Test
fun testUnsignedHeaders() = runTest {
val request = HttpRequest {
Expand Down Expand Up @@ -166,7 +160,6 @@ class DefaultCanonicalizerTest {
assertEquals(expectedSignedHeaders, actual.signedHeaders)
}

@IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
@Test
fun testCustomPort() = runTest {
val request = HttpRequest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/
package aws.smithy.kotlin.runtime.auth.awssigning

import aws.smithy.kotlin.runtime.IgnoreNative
import aws.smithy.kotlin.runtime.auth.awscredentials.Credentials
import aws.smithy.kotlin.runtime.http.Headers
import aws.smithy.kotlin.runtime.http.HttpBody
Expand All @@ -16,7 +15,6 @@ import kotlin.test.Test
import kotlin.test.assertEquals

class DefaultRequestMutatorTest {
@IgnoreNative // FIXME Re-enable after Kotlin/Native implementation
@Test
fun testAppendAuthHeader() {
val canonical = CanonicalRequest(baseRequest.toBuilder(), "", "action;host;x-amz-date", "")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/
package aws.smithy.kotlin.runtime.auth.awssigning

import aws.smithy.kotlin.runtime.IgnoreNative
import aws.smithy.kotlin.runtime.auth.awscredentials.Credentials
import aws.smithy.kotlin.runtime.auth.awssigning.tests.DEFAULT_TEST_CREDENTIALS
import aws.smithy.kotlin.runtime.hashing.sha256
Expand All @@ -17,7 +16,6 @@ import kotlin.test.assertEquals

class DefaultSignatureCalculatorTest {
// Test adapted from https://docs.aws.amazon.com/general/latest/gr/sigv4-calculate-signature.html
@IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
@Test
fun testCalculate() {
val signingKey = "c4afb1cc5771d871763a393e44b703571b55cc28424d1a5e86da6ed3c154a4b9".decodeHexBytes()
Expand All @@ -34,7 +32,6 @@ class DefaultSignatureCalculatorTest {
}

// Test adapted from https://docs.aws.amazon.com/general/latest/gr/sigv4-calculate-signature.html
@IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
@Test
fun testSigningKey() = runTest {
val config = AwsSigningConfig {
Expand All @@ -50,7 +47,6 @@ class DefaultSignatureCalculatorTest {
}

// Test adapted from https://docs.aws.amazon.com/general/latest/gr/sigv4-create-string-to-sign.html
@IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
@Test
fun testStringToSign() {
val canonicalRequest = """
Expand Down Expand Up @@ -84,7 +80,6 @@ class DefaultSignatureCalculatorTest {

private data class ChunkStringToSignTest(val signatureType: AwsSignatureType, val expectedNonSignatureHeaderHash: String)

@IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
@Test
fun testChunkStringToSign() {
// Test event stream signing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ public abstract class AwsHttpSignerTestBase(
return operation.context[HttpOperationContext.HttpCallList].last().request
}

@IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
@Test
public fun testSignRequest(): TestResult = runTest {
val op = buildOperation()
Expand All @@ -122,7 +121,6 @@ public abstract class AwsHttpSignerTestBase(
assertEquals(expectedSig, signed.headers["Authorization"])
}

@IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
@Test
public fun testUnsignedRequest(): TestResult = runTest {
val op = buildOperation(unsigned = true)
Expand All @@ -136,7 +134,7 @@ public abstract class AwsHttpSignerTestBase(
assertEquals(expectedSig, signed.headers["Authorization"])
}

@IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
@IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation.
@Test
public fun testSignReplayableStreamingRequest(): TestResult = runTest {
val op = buildOperation(streaming = true)
Expand All @@ -150,7 +148,7 @@ public abstract class AwsHttpSignerTestBase(
assertEquals(expectedSig, signed.headers["Authorization"])
}

@IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation
@IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation.
@Test
public fun testSignAwsChunkedStreamNonReplayable(): TestResult = runTest {
val op = buildOperation(streaming = true, replayable = false, requestBody = "a".repeat(AWS_CHUNKED_THRESHOLD + 1))
Expand All @@ -164,7 +162,7 @@ public abstract class AwsHttpSignerTestBase(
assertEquals(expectedSig, signed.headers["Authorization"])
}

@IgnoreNative // FIXME Re-enable after Kotlin/Native implementation
@IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation.
@Test
public fun testSignAwsChunkedStreamReplayable(): TestResult = runTest {
val op = buildOperation(streaming = true, replayable = true, requestBody = "a".repeat(AWS_CHUNKED_THRESHOLD + 1))
Expand All @@ -178,7 +176,7 @@ public abstract class AwsHttpSignerTestBase(
assertEquals(expectedSig, signed.headers["Authorization"])
}

@IgnoreNative // FIXME Re-enable after Kotlin/Native implementation
@IgnoreNative // FIXME Re-enable after Kotlin/Native Implementation.
@Test
public fun testSignOneShotStream(): TestResult = runTest {
val op = buildOperation(streaming = true, replayable = false)
Expand Down
Loading
Loading