arrow-kt / arrow

Λrrow - Functional companion to Kotlin's Standard Library
http://arrow-kt.io
Other
6.13k stars 442 forks source link

Flaky `RaceNJvmTest.firstRacerOutOf2AlwaysWinsOnASingleThread()` tests #3471

Open serras opened 1 month ago

serras commented 1 month ago

This tests is starting to fail in almost every run in the Kotlin Compatibility Testing, using development version of 2.1. We should decide whether to completely mute this, or find a good solution.

java.lang.AssertionError: Expecting actual not to be null
  at arrow.fx.coroutines.RaceNJvmTest$firstRacerOutOf2AlwaysWinsOnASingleThread$1.invokeSuspend(RaceNJvmTest.kt:73)
  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
  at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:266)
  at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:99)
  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
  at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
  at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
  at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811)
  at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715)
  at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702)