Github user markhamstra commented on the pull request:
https://github.com/apache/spark/pull/186#issuecomment-39045003
The only suggestion that occurs to me immediately doesn't result in less
work, but more: bite the testKit bullet to test the supervision and refactor to
get rid of the processEvent, switching to handling the event messages directly
in receive(). That gets us to more orthodox Akka usage, but it's probably more
than we want to do in the 0.9.x context. On the other hand, if we put the
testKit infrastructure in place in 1.0, testing our new, minimalist supervisor
actor there could be an adequate warrant for its usage in 0.9.x... maybe.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---