Skip to content

Migrate to kotlinx-io and ktor 3.0 #364

Migrate to kotlinx-io and ktor 3.0

Migrate to kotlinx-io and ktor 3.0 #364

GitHub Actions / Test Results failed Nov 28, 2024 in 0s

2 fail, 739 skipped, 3 132 pass in 46m 22s

  878 files  ± 0    878 suites  +1   46m 22s ⏱️ + 1m 25s
3 873 tests ± 0  3 132 ✅ + 4    739 💤 ±0  2 ❌  -  4 
8 328 runs  +24  6 702 ✅ +28  1 622 💤 +6  4 ❌  - 10 

Results for commit 75579b9. ± Comparison against earlier commit 9feca27.

Annotations

Check warning on line 0 in io.rsocket.kotlin.core.MultiplexedLocalRSocketTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 4 runs failed: testErrorPropagatesCorrectly[jvm] (io.rsocket.kotlin.core.MultiplexedLocalRSocketTest)

test-reports/rsocket-core/build/test-results/jvm11Test/TEST-io.rsocket.kotlin.core.MultiplexedLocalRSocketTest.xml [took 0s]
Raw output
java.lang.AssertionError: Expected an exception of class java.lang.IllegalStateException to be thrown, but was completed successfully.
	at org.junit.Assert.fail(Assert.java:89)
	at kotlin.test.junit.JUnitAsserter.fail(JUnitSupport.kt:56)
	at kotlin.test.AssertionsKt__AssertionsImplKt.checkResultIsFailure(AssertionsImpl.kt:22)
	at kotlin.test.AssertionsKt.checkResultIsFailure(Unknown Source)
	at io.rsocket.kotlin.core.RSocketTest$testErrorPropagatesCorrectly$1.invokeSuspend(RSocketTest.kt:335)
	at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:42)
	at io.rsocket.kotlin.test.SuspendTest$test$1.invokeSuspend(SuspendTest.kt:52)
	at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:318)
Caused by: java.lang.AssertionError: Expected an exception of class java.lang.IllegalStateException to be thrown, but was completed successfully.
	at org.junit.Assert.fail(Assert.java:89)
	at kotlin.test.junit.JUnitAsserter.fail(JUnitSupport.kt:56)
	at kotlin.test.AssertionsKt__AssertionsImplKt.checkResultIsFailure(AssertionsImpl.kt:22)
	at kotlin.test.AssertionsKt.checkResultIsFailure(Unknown Source)
	at io.rsocket.kotlin.core.RSocketTest$testErrorPropagatesCorrectly$1.invokeSuspend(RSocketTest.kt:335)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:101)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:589)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:832)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:720)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:707)

Check warning on line 0 in io.rsocket.kotlin.transport.ktor.tcp.KtorTcpTransportTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

3 out of 4 runs failed: requestStreamX16[jvm] (io.rsocket.kotlin.transport.ktor.tcp.KtorTcpTransportTest)

test-reports/rsocket-transports/ktor-tcp/build/test-results/jvm11Test/TEST-io.rsocket.kotlin.transport.ktor.tcp.KtorTcpTransportTest.xml [took 3m 0s]
test-reports/rsocket-transports/ktor-tcp/build/test-results/jvm21Test/TEST-io.rsocket.kotlin.transport.ktor.tcp.KtorTcpTransportTest.xml [took 3m 0s]
test-reports/rsocket-transports/ktor-tcp/build/test-results/jvmTest/TEST-io.rsocket.kotlin.transport.ktor.tcp.KtorTcpTransportTest.xml [took 3m 0s]
Raw output
kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 180000 ms
	at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:42)
	at io.rsocket.kotlin.test.SuspendTest.runWithTimeout-KLykuaI(SuspendTest.kt:109)
	at io.rsocket.kotlin.test.SuspendTest.runPhase-dWUq8MI(SuspendTest.kt:83)
	at io.rsocket.kotlin.test.SuspendTest$test$1$1.invokeSuspend(SuspendTest.kt:56)
	at io.rsocket.kotlin.test.SuspendTest$test$1.invokeSuspend(SuspendTest.kt:52)
	at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:318)
Caused by: kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 180000 ms
	at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:188)
	at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:156)
	at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:505)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
	at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:105)
	at java.base/java.lang.Thread.run(Thread.java:1583)