Commit graph

187 commits

Author SHA1 Message Date
Patrik Nordwall
495ace37f4 Avoid TestConductorTransport unless needed, see #2586
* Due to the shutdown issues the TestConductorTransport is by
  default not active, but it's easy to activate it and exception
  will be thrown if trying to use the featues that require it, i.e
  blackhole, passThrow and throttle
* Documented
2012-10-05 14:52:18 +02:00
Patrik Nordwall
de420ec38a Merge branch 'master' into wip-2010-mute-log-patriknw 2012-10-02 10:40:30 +02:00
Patrik Nordwall
fad6024596 Mute deadletters in ScatterGatherRoutedRemoteActorSpec, see #2010 2012-10-02 10:39:22 +02:00
Patrik Nordwall
72b94f994e Verify proper shutdown when remote deployed actor, see #2552 2012-09-27 14:28:52 +02:00
Patrik Nordwall
7d1a9e1d29 TestConductorSpec failure, final barrier missing, see #2440 2012-09-24 15:37:31 +02:00
Björn Antonsson
afe30e9038 Removed all dependencies to ScalaTest in the published artifacts. See #1802 2012-09-12 15:12:13 +02:00
Björn Antonsson
6c25954a2d Merge branch 'master' into wip-1802-multijvm-test-harnesses-needs-to-be-published-ban 2012-09-12 11:09:26 +02:00
Björn Antonsson
7299450121 Make akka-testkit and akka-remote-tests contain enough for MultiNodeSpec. See #1802 2012-09-10 13:14:48 +02:00
Patrik Nordwall
b400b0b818 Merge branch 'master' into wip-2103-cluster-routers-patriknw
Conflicts:
	akka-remote/src/main/scala/akka/routing/RemoteRouterConfig.scala
2012-09-07 16:57:49 +02:00
Patrik Nordwall
7744081224 Incorporate review comments, see #2433 2012-08-31 11:16:57 +02:00
Patrik Nordwall
9f389a7950 Resizer specified in code combined with other router config, see #2433
* Use withFallback to use Resizer specified in code if not configured
* Use withFallback in RemoteRouterConfig also
* Fix bug of child name in RemoteRouteeProvider
2012-08-27 14:51:51 +02:00
Viktor Klang
1114da2198 Importing language features used by akka-cluster and akka-remote-tests 2012-07-26 14:47:21 +02:00
Viktor Klang
6fc5fd393d Making sure that the multi-jvm tests compile 2012-07-25 16:33:21 +02:00
Viktor Klang
0bf45a9403 Initial work in moving to scala.concurrent.Await + Awaitable 2012-06-29 16:06:26 +02:00
Viktor Klang
54a3a44bf8 #2292 - Removing akka.util.Duration etc and replace it with scala.concurrent.util.Duration 2012-06-29 13:33:20 +02:00
Björn Antonsson
35056d765d Adding test case duration output to the multi-jvm tests 2012-06-28 08:51:09 +02:00
Björn Antonsson
4e49b2c843 Make MultiNodeSpec shut down the conductor after other nodes. See #2230 2012-06-21 13:17:05 +02:00
Björn Antonsson
fd42c3d49a Allow barrier timeouts to be shortened and other review fixes 2012-06-15 14:39:47 +02:00
Björn Antonsson
5714d8327f Make multi node tests use the within() aware barrier 2012-06-13 14:55:33 +02:00
Patrik Nordwall
f918ae6c32 Tag all multi node tests as long-running, since slow jenkins sometimes has problems running them. 2012-05-29 14:30:15 +02:00
patriknw
eee96292e7 Merge pull request #496 from akka/wip-2143-MultiNodeSpec-init-race-patriknw
Workaround for Initialization race in MultiNodeSpec, see #2143
2012-05-29 05:17:22 -07:00
Patrik Nordwall
06f86e1091 Boy scouting based on feedback, see #1935 2012-05-29 13:18:46 +02:00
Patrik Nordwall
66efe504da Workaround for Initialization race in MultiNodeSpec, see #2143 2012-05-29 11:42:29 +02:00
Patrik Nordwall
b9a6ccaf41 Port all MultiJvm tests to MultiNode, see #1935
* Moved akka-remote/multi-jvm test to akka-remote-tests/multi-jvm
* Removed old test utilities that are replaced by testconductor
* Removed multi-jvm from akka-remote build, these tests are now in
  akka-remote-tests
* Removed test dependencies in build that are not needed any longer
* DirectRoutedRemoteActorMultiJvmSpec replaced with
  NewRemoteActorMultiJvmSpec, same thing
2012-05-29 10:06:44 +02:00
Roland
8cad9bb1b6 add deployOn/deployOnAll DSL to MultiNodeSpec, see #2118 2012-05-24 12:40:52 +02:00
Roland
fa5960372c Merge branch 'wip-2069-DirectRoutedRemoteActorMultiJvmSpec-patriknw' 2012-05-24 11:40:05 +02:00
Roland
e054816047 make failure injection idempotent
- instead of creating local top-level actors per pipeline, just create
  one system actor through which everything is sent
- this enables storing settings (like what to throttle how) within this
  actor and applying settings when connections come up later
- it also gets rid of the blocking actor creation from
  NetworkFailureInjector, fixing the dead-lock
- moved also the ServerFSMs to be children of the Controller
- all actors have proper names now for easier debugging
2012-05-24 10:56:32 +02:00
Patrik Nordwall
3ab02e9519 Convert NodeStartupSpec to MultiNodeSpec. See #1948 2012-05-23 16:40:30 +02:00
Patrik Nordwall
12ff07f025 Adjusted tests to latest testconductor, remote deploy still fails. See #2069 2012-05-23 09:26:20 +02:00
Roland
1577bffe17 make too verbose logging in TestConductorSpec go away (d’oh) 2012-05-23 09:25:12 +02:00
Patrik Nordwall
a211e4daf6 Adjusted tests to latest testconductor, remote deploy still fails. See #2069 2012-05-22 16:35:43 +02:00
Patrik Nordwall
dbb2dd5c54 Merge branch 'wip-testconductor-∂π' into wip-2069-DirectRoutedRemoteActorMultiJvmSpec-patriknw 2012-05-22 12:55:11 +02:00
Roland
e825a8ac4f switch MultiNodeSpec to use RoleName type when referring to participants
- also add MultiNodeConfig base class for conveniently declaring a test
  setup including roles and (node specific) config settings
2012-05-18 18:44:53 +02:00
Roland
e99c938528 switch to Björn’s new multi-jvm setup (i.e. remove system properties) 2012-05-18 16:26:48 +02:00
Roland
c86051505b wrap up MultiNodeSpec, see #1934 and #2063
- restructure message classes in sealed traits according to message flow
  direction and include confirmed/unconfirmed status in the type
- add GetAddress query for obtaining the remote transport address of
  another test participant
- add reconnects to Player
- add small DSL with runOn(node...), ifNode(node...)(<true>)(<false>)
  and node(<node>):ActorPath
- rewrite TestConductorSpec to use that DSL and run within a single test
  procedure instead of separate NodeX classes
- hook up that test into current multi-jvm infrastructure temporarily
  for testing (will use Björn’s new remote-multi-jvm stuff later)
2012-05-18 15:55:04 +02:00
Patrik Nordwall
14dc08b75a Added failing DirectRoutedRemoteActorMultiJvmSpec. See #2069 2012-05-14 14:26:32 +02:00
Roland
d931a6e727 break out TestConductor stuff into akka-remote-tests project 2012-05-10 10:56:52 +02:00