Thanks, the example was helpful.

However, testing the Worker itself is a lot more complicated than
WorkerWatcher, since the Worker class is quite a bit more complex. Are
there any tests that inspect the Worker itself?

Thanks,

-Matt Cheah

On Tue, Oct 14, 2014 at 6:40 PM, Nan Zhu <zhunanmcg...@gmail.com> wrote:

> You can use akka testkit
>
> Example:
>
>
> https://github.com/apache/spark/blob/ef4ff00f87a4e8d38866f163f01741c2673e41da/core/src/test/scala/org/apache/spark/deploy/worker/WorkerWatcherSuite.scala
>
> --
> Nan Zhu
>
> On Tuesday, October 14, 2014 at 9:17 PM, Matthew Cheah wrote:
>
> Hi everyone,
>
> I’m adding some new message passing between the Master and Worker actors in
> order to address https://issues.apache.org/jira/browse/SPARK-3736 .
>
> I was wondering if these kinds of interactions are tested in the automated
> Jenkins test suite, and if so, where I could find some examples to help me
> do the same.
>
> Thanks!
>
> -Matt Cheah
>
>
>

Reply via email to