Skip to content

Commit

Permalink
Increase timeout for TimeoutSuite, fixes #31
Browse files Browse the repository at this point in the history
  • Loading branch information
Olafur Pall Geirsson committed Jan 29, 2020
1 parent c83c4c9 commit 671d2ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/jvm/src/test/scala/munit/TimeoutSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import scala.concurrent.ExecutionContext.Implicits.global
import scala.concurrent.duration.FiniteDuration

class TimeoutSuite extends munit.FunSuite {
override val munitTimeout: FiniteDuration = Duration(10, "ms")
override val munitTimeout: FiniteDuration = Duration(100, "ms")
test("slow".fail) {
Future {
Thread.sleep(100)
Thread.sleep(1000)
}
}
test("fast") {
Expand Down

0 comments on commit 671d2ec

Please sign in to comment.