Skip to content

Commit

Permalink
Increase timeout for TimeoutSuite, fixes #31 (#32)
Browse files Browse the repository at this point in the history
Increase timeout for TimeoutSuite, fixes #31
  • Loading branch information
olafurpg authored Jan 29, 2020
2 parents 57f1fba + 671d2ec commit 2595be0
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 2595be0

Please sign in to comment.