From c1d4513a2fc402a3981d52e6a81c1e0f899b549e Mon Sep 17 00:00:00 2001 From: Matas Lauzadis Date: Tue, 19 Nov 2024 10:27:56 -0500 Subject: [PATCH] Re-enable tests --- .../smithy/kotlin/runtime/crt/ReadChannelBodyStreamTest.kt | 4 ---- .../aws/smithy/kotlin/runtime/crt/SdkSourceBodyStreamTest.kt | 3 --- 2 files changed, 7 deletions(-) diff --git a/runtime/crt-util/jvmAndNative/test/aws/smithy/kotlin/runtime/crt/ReadChannelBodyStreamTest.kt b/runtime/crt-util/jvmAndNative/test/aws/smithy/kotlin/runtime/crt/ReadChannelBodyStreamTest.kt index a865dfe43..314cce473 100644 --- a/runtime/crt-util/jvmAndNative/test/aws/smithy/kotlin/runtime/crt/ReadChannelBodyStreamTest.kt +++ b/runtime/crt-util/jvmAndNative/test/aws/smithy/kotlin/runtime/crt/ReadChannelBodyStreamTest.kt @@ -27,7 +27,6 @@ class ReadChannelBodyStreamTest { return MutableBuffer.of(dest) to dest } - @Ignore @Test fun testClose() = runTest { val chan = SdkByteChannel() @@ -59,7 +58,6 @@ class ReadChannelBodyStreamTest { } } - @Ignore @Test fun testReadFully() = runTest { val data = byteArrayOf(1, 2, 3, 4, 5) @@ -75,7 +73,6 @@ class ReadChannelBodyStreamTest { } } - @Ignore @Test fun testPartialRead() = runTest { val chan = SdkByteReadChannel("123456".encodeToByteArray()) @@ -94,7 +91,6 @@ class ReadChannelBodyStreamTest { assertEquals("456", sent2.decodeToString()) } - @Ignore @Test fun testLargeTransfer() = runTest { val chan = SdkByteChannel() diff --git a/runtime/crt-util/jvmAndNative/test/aws/smithy/kotlin/runtime/crt/SdkSourceBodyStreamTest.kt b/runtime/crt-util/jvmAndNative/test/aws/smithy/kotlin/runtime/crt/SdkSourceBodyStreamTest.kt index 602691490..e262616c3 100644 --- a/runtime/crt-util/jvmAndNative/test/aws/smithy/kotlin/runtime/crt/SdkSourceBodyStreamTest.kt +++ b/runtime/crt-util/jvmAndNative/test/aws/smithy/kotlin/runtime/crt/SdkSourceBodyStreamTest.kt @@ -22,7 +22,6 @@ class SdkSourceBodyStreamTest { return MutableBuffer.of(dest) to dest } - @Ignore @Test fun testReadFully() = runTest { val data = byteArrayOf(1, 2, 3, 4, 5) @@ -37,7 +36,6 @@ class SdkSourceBodyStreamTest { } } - @Ignore @Test fun testPartialRead() = runTest { val source = "123456".encodeToByteArray().source() @@ -55,7 +53,6 @@ class SdkSourceBodyStreamTest { assertEquals("456", sent2.decodeToString()) } - @Ignore @Test fun testLargeTransfer() = runTest { val data = "foobar"