From dc5b377bb1193028d9f5ebab446bf54e92d90ab2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Antonsson?= Date: Fri, 21 Sep 2012 17:26:22 +0200 Subject: [PATCH] Cleanup after merge. --- akka-docs/rst/dev/multi-jvm-testing.rst | 2 +- akka-docs/{ => rst}/dev/multi-node-testing.rst | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) rename akka-docs/{ => rst}/dev/multi-node-testing.rst (93%) diff --git a/akka-docs/rst/dev/multi-jvm-testing.rst b/akka-docs/rst/dev/multi-jvm-testing.rst index df3300c89e..4fbc03106f 100644 --- a/akka-docs/rst/dev/multi-jvm-testing.rst +++ b/akka-docs/rst/dev/multi-jvm-testing.rst @@ -15,7 +15,7 @@ The multi-JVM testing is an sbt plugin that you can find at ``_. Don't use ``SNAPSHOT``. Note that the -Scala version |scalaVersion| is part of the artifactId. +``_. +We recommend against using ``SNAPSHOT`` in order to obtain stable builds. A Multi Node Testing Example ============================ @@ -183,18 +183,18 @@ A Multi Node Testing Example First we need some scaffolding to hook up the ``MultiNodeSpec`` with your favorite test framework. Lets define a trait ``STMultiNodeSpec`` that uses ScalaTest to start and stop ``MultiNodeSpec``. -.. includecode:: ../../akka-samples/akka-sample-multi-node/src/test/scala/sample/multinode/STMultiNodeSpec.scala#example +.. includecode:: ../../../akka-samples/akka-sample-multi-node/src/test/scala/sample/multinode/STMultiNodeSpec.scala#example Then we need to define a configuration. Lets use two nodes ``"node1`` and ``"node2"`` and call it ``MultiNodeSampleConfig``. -.. includecode:: ../../akka-samples/akka-sample-multi-node/src/multi-jvm/scala/sample/multinode/MultiNodeSample.scala +.. includecode:: ../../../akka-samples/akka-sample-multi-node/src/multi-jvm/scala/sample/multinode/MultiNodeSample.scala :include: package,config And then finally to the node test code. That starts the two nodes, and demonstrates a barrier, and a remote actor message send/receive. -.. includecode:: ../../akka-samples/akka-sample-multi-node/src/multi-jvm/scala/sample/multinode/MultiNodeSample.scala +.. includecode:: ../../../akka-samples/akka-sample-multi-node/src/multi-jvm/scala/sample/multinode/MultiNodeSample.scala :include: package,spec Things to Keep in Mind