#3215 - fixing race in JavaTestkitSpec
This commit is contained in:
parent
2c4c5b0594
commit
dd03b40c5a
1 changed files with 1 additions and 2 deletions
|
|
@ -37,9 +37,8 @@ class JavaTestKitSpec extends AkkaSpec with DefaultTimeout {
|
|||
new JavaTestKit(system) {
|
||||
val actor = system.actorOf(Props(new Actor { def receive = { case _ ⇒ } }))
|
||||
|
||||
system stop actor
|
||||
|
||||
watch(actor)
|
||||
system stop actor
|
||||
expectTerminated(actor).existenceConfirmed must be === true
|
||||
|
||||
watch(actor)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue