Skip to content

scala-cli: AirSpec test hungs after completion #3049

@xerial

Description

@xerial

When using AirSpec with scala-cli, the process hungs:

Build.test.scala

//> using test.dep org.wvlet.airframe::airspec:23.7.0
//> using testFramework "wvlet.airspec.Framework"
import wvlet.airspec.AirSpec

class BuildTest extends AirSpec:
  test("foo") {
    // TODO: hangs after completion
  }
$ scala-cli test .
Compiling project (test, Scala 3.3.0, JVM)
Compiled project (test, Scala 3.3.0, JVM)
BuildTest:
 - foo 6.82ms <----------- hungs here 

Probably because async test support of AirSpec is related.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions