Fix shutdown timeout in multi-jvm tests, #23925 (#23927)

This commit is contained in:
Patrik Nordwall 2017-11-06 13:31:51 +01:00 committed by Arnout Engelen
parent 2e71b751bf
commit 768753556b
3 changed files with 11 additions and 4 deletions

View file

@ -308,11 +308,11 @@ abstract class MultiNodeSpec(val myself: RoleName, _system: ActorSystem, _roles:
}
}
}
shutdown(system)
shutdown(system, duration = shutdownTimeout)
afterTermination()
}
def shutdownTimeout: FiniteDuration = 5.seconds.dilated
def shutdownTimeout: FiniteDuration = 15.seconds.dilated
/**
* Override this and return `true` to assert that the