2.1 Spotlight: Multi Node Testing

With the 2.1 version of Akka we have added scaffolding to help you run and coordinate tests spanning multiple machines. The feature is still experimental but fully functional.

To use the Akka multi node testing in you project you need to add this plugin to your sbt build. In project/plugins.sbt.

Your project also needs to have akka-remote-tests-experimental as a dependency. Here is a small sbt build example to get you going. You can put it in project/ExampleBuild.scala.

And finally a small multi node test example that demonstrates some barriers and remote communication. Should go into src/mult-jvm/scala/example/MultiNodeExample.scala

More information is available in the Akka documentation.

Recent comments

Blog comments powered by Disqus