Skip to content

IOAppSuite failure on JDK 25 #4471

@SethTisue

Description

@SethTisue

as seen in the Scala 2.13 community build at https://scala-ci.typesafe.com/job/scala-2.13.x-jdk25-integrate-community-build/9/artifact/logs/cats-effect-build.log :

[cats-effect] [error] ==> X cats.effect.IOAppSuite.support main thread evaluation  0.422s munit.ComparisonFailException: ioapp-tests/src/test/scala/IOAppSuite.scala:361
[cats-effect] [error] 360:        val h = platform("EvalOnMainThread", List.empty)
[cats-effect] [error] 361:        assertEquals(h.awaitStatus(), 0)
[cats-effect] [error] 362:      }
[cats-effect] [error] values are not the same
[cats-effect] [error] => Obtained
[cats-effect] [error] 1
[cats-effect] [error] => Diff (- expected, + obtained)
[cats-effect] [error] -0
[cats-effect] [error] +1
[cats-effect] [error]     at munit.FunSuite.assertEquals(FunSuite.scala:13)
[cats-effect] [error]     at cats.effect.IOAppSuite.$anonfun$new$91(IOAppSuite.scala:361)

I assume it's easily reproducible, but if not, lmk

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions