Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Roiocam committed Aug 19, 2024
1 parent 9984d9c commit dde6473
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -436,11 +436,12 @@ class SupervisionSpec extends ScalaTestWithActorTestKit("""
probe.expectMessage(secondSignal)
}

secondSignal match {
case ReceivedSignal(PreRestart) =>
secondSignal.signal match {
case PreRestart =>
// verify that it's still alive and not stopped, IllegalStateException would stop it
ref ! Ping(2)
probe.expectMessage(Pong(2))
case _ => // ignore
}
}

Expand Down

0 comments on commit dde6473

Please sign in to comment.