Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (
- (description, replyMessage, errorMessage) <- Seq(
- ("not found", ContextsSupervisor.ContextNotFound(contextName), "Context not found"),
- ("in wrong state", ContextsSupervisor.ContextInWrongState(contextName, ContextStatus.FAILED), "Context in wrong state"),
- ("obtaining failed", akka.actor.Status.Failure(new Exception("obtaining failed")), "obtaining failed")
- );
- (isSynchronous) <- Seq(true, false)
- ) it(s"fail killing job when context $description and mode is ${if (isSynchronous) "synchronous" else "asynchronous"}") {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement