Merge pull request #1409 from akka/wip-3317-awaitAssert-∂π
fix TestTimeSpec, see #3317
This commit is contained in:
commit
dbe0ef0acd
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ class TestTimeSpec extends AkkaSpec(Map("akka.test.timefactor" -> 2.0)) with Bef
|
|||
awaitAssert("foo" must be("foo"))
|
||||
within(300.millis, 2.seconds) {
|
||||
intercept[TestFailedException] {
|
||||
awaitAssert("foo" must be("bar"), 500.millis)
|
||||
awaitAssert("foo" must be("bar"), 500.millis, 300.millis)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue