@@ -14,6 +14,7 @@ import kotlinx.coroutines.Job
1414import kotlinx.coroutines.launch
1515import kotlinx.coroutines.test.runTest
1616import kotlinx.coroutines.yield
17+ import kotlin.test.Ignore
1718import kotlin.test.Test
1819import kotlin.test.assertEquals
1920import kotlin.test.assertFailsWith
@@ -26,6 +27,7 @@ class ReadChannelBodyStreamTest {
2627 return MutableBuffer .of(dest) to dest
2728 }
2829
30+ @Ignore // FIXME Re-enable after Kotlin/Native implementation. kotlin.native.internal.FileFailedToInitializeException at null:-1
2931 @Test
3032 fun testClose () = runTest {
3133 val chan = SdkByteChannel ()
@@ -42,6 +44,7 @@ class ReadChannelBodyStreamTest {
4244 assertTrue(stream.sendRequestBody(sendBuffer))
4345 }
4446
47+ @Ignore // FIXME Re-enable after Kotlin/Native implementation. kotlin.native.internal.FileFailedToInitializeException at null:-1
4548 @Test
4649 fun testCancellation () = runTest {
4750 val chan = SdkByteChannel ()
@@ -56,6 +59,7 @@ class ReadChannelBodyStreamTest {
5659 }
5760 }
5861
62+ @Ignore // FIXME Re-enable after Kotlin/Native implementation. kotlin.NotImplementedError at null:-1
5963 @Test
6064 fun testReadFully () = runTest {
6165 val data = byteArrayOf(1 , 2 , 3 , 4 , 5 )
@@ -71,6 +75,7 @@ class ReadChannelBodyStreamTest {
7175 }
7276 }
7377
78+ @Ignore // FIXME Re-enable after Kotlin/Native implementation. kotlin.NotImplementedError at null:-1
7479 @Test
7580 fun testPartialRead () = runTest {
7681 val chan = SdkByteReadChannel (" 123456" .encodeToByteArray())
@@ -89,6 +94,7 @@ class ReadChannelBodyStreamTest {
8994 assertEquals(" 456" , sent2.decodeToString())
9095 }
9196
97+ @Ignore // FIXME Re-enable after Kotlin/Native implementation. kotlin.native.internal.FileFailedToInitializeException at null:-1
9298 @Test
9399 fun testLargeTransfer () = runTest {
94100 val chan = SdkByteChannel ()
0 commit comments