Commit graph

126 commits

Author SHA1 Message Date
Viktor Klang
da84f03e46 #2841 – remove stack traces from new remoting exceptions 2012-12-20 13:57:53 +01:00
Endre Sándor Varga
66ccefe00e Workaround for tests relying on accurate throttling
- increased default capacity of token bucket in testconductor (Player)
2012-12-19 15:47:30 +01:00
Endre Sándor Varga
4dcb38c758 Changed to enabled retry gate by default, when testtransport is used 2012-12-18 18:56:18 +01:00
Endre Sándor Varga
55be17419e Merge branch 'master' into wip-2053d-actorbased-remote-drewhk
Conflicts:
	akka-docs/rst/java/code/docs/serialization/SerializationDocTestBase.java
	akka-docs/rst/scala/code/docs/serialization/SerializationDocSpec.scala
	akka-remote-tests/src/main/scala/akka/remote/testconductor/NetworkFailureInjector.scala
	akka-remote/src/main/scala/akka/remote/RemoteActorRefProvider.scala
2012-12-18 15:15:01 +01:00
Endre Sándor Varga
8dc60cca4e - Added AddressUrlEncoder to centralize address string encoding at one place
- Removed HasTransport trait from NettyHelpers
- Fixed unsafe initialization of boss and worker executors in netty driver when using an akka dispatcher
2012-12-18 14:27:00 +01:00
Endre Sándor Varga
f1177464ad Fixed handling of passive connections in the failureinjector and remoting 2012-12-18 14:26:54 +01:00
Endre Sándor Varga
a7b78bf78b Integration with the TestConductor
- Removed old FailureInjector from TestConductor
- Fixed tests to work with the new remoting
- Plugged ThrottlerTransportAdapter into TestConductor
2012-12-18 14:26:53 +01:00
Viktor Klang
3ff997a3ca #2742 - making reuseAddress default false on windows with option to turn it on for everybody or off for everybody 2012-12-18 13:34:53 +01:00
Rich Dougherty
9a1e7d0519 Rename FSM and TestFSMRef's timerActive_? to isTimerActive. Fixes #2766 2012-12-06 17:28:49 +01:00
Patrik Nordwall
42b6bad65e Eliminate race in RoundRobinRoutedRemoteActorSpec, see #2725
* Resize is done via a message to the router so it might happen later.
* For this test this could cause all messages to pass through before the actual
  resize took place.
* The change in RoutedActorCell was done because it doesn't make sense
  and complicates testing to trigger  resize when sending CurrentRoutees
  to the router.
2012-11-27 17:46:27 +01:00
Björn Antonsson
41ecd4749c Don't replace the active connection with a passive one. See #2654 2012-11-26 15:29:24 +01:00
Endre Sándor Varga
682abccf7e Added defaultAddress() to RemoteTransport API 2012-11-21 14:18:24 +01:00
Endre Sándor Varga
0f0c5cb17a Merge branch 'master' into wip-2053d-actorbased-remote-drewhk 2012-11-21 12:04:14 +01:00
Viktor Klang
b00c47854b Switching over to immutable.Iterable where possible 2012-11-14 16:24:25 +01:00
Viktor Klang
8f131c680f Switching to immutable.Seq instead of Seq 2012-11-12 14:17:47 +01:00
Björn Antonsson
977194ff8e Improve MultiNodeSpec ifNode syntax. #2126 2012-11-01 15:16:02 +01:00
Björn Antonsson
d46f626479 Limit the number of netty worker threads based on configuration. #2659 2012-10-30 08:45:12 +01:00
Endre Sándor Varga
5f9253b79e New Remoting implementation (iteration 3) #2053
- Asynchronous lockless remoting
 - Pluggable transport drivers
 - Multiple transport support
 - Simplified lifecycle events
 - Support for netty based TCP, SSL+TCP and UDP support
 - Updated Akka protocol with soft-state connections and failure detection
 - Refactored failure detectors (currently duplicated from cluster)
2012-10-29 16:32:15 +01:00
Patrik Nordwall
5e83df74e9 Solve wrong barrier problem, see #2583
* The problem was that we didn't wait for the testconductor.shutdown Future
  to complete and therefore barriers could be triggered in unexpected order.
  The reason why we didn't await, was that during shutdown the Future was
  completed with client disconnected failure. I have fixed that and added
  await to all shutdowns.
2012-10-16 17:02:13 +02:00
Roland
b96d77c15a actually build the samples
and fix the resulting breakage (of not compiling them for some time,
that is)

also remove the last casts to FiniteDuration
2012-10-15 17:17:54 +02:00
Roland
bff79c2f94 Merge remote-tracking branch 'origin/master' into wip-2.10.0-RC1-∂π
- currently cheating: uses zeroMQ artifacts for scala 2.10M7
- fixed a bunch of more wrong references to scala.concurrent.util
2012-10-15 16:18:52 +02:00
Patrik Nordwall
ef695cbb29 LogRoleReplace filter out ESC characters 2012-10-12 13:00:16 +02:00
Roland
0f04239f67 move Duration classes according to scala 2.10 nightly and remove casts to FiniteDuration, see #2504 2012-10-11 15:18:10 -07:00
Patrik Nordwall
45efd3dc00 Adjust the scaladoc note as suggested, see #2586 2012-10-07 09:05:14 +02:00
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
Björn Antonsson
0730251e5f Review comments. #2049 2012-10-04 13:52:11 +02:00
Björn Antonsson
5cfb79aef5 Minor doc and API cleanup for Test Conductor. See #2049 2012-10-04 11:03:07 +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
8476b2195c Mute expected log messages, see #2010 2012-10-01 20:12:36 +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
55f5e2dc6a Changed weird quotes in scaladoc. See #2528 2012-09-20 13:48:59 +02:00
Björn Antonsson
f9f4bf8c1f Changed multinode properties used by MultiNodeSpec. See #2528. 2012-09-20 12:01:49 +02:00
Roland
35b7a9e338 second round of FiniteDuration business, including cluster fixes
- make Scheduler only accept FiniteDuration, which has quite some
  knock-on effects
2012-09-18 09:58:30 +02:00
Roland
251a62293a unb0rk akka-actor-nightly build
This means tightening types from Duration to FiniteDuration in several
places; a good thing, since we replace runtime complaints by compile
time errors.
2012-09-14 16:44:38 +02:00
Björn Antonsson
fe7091e2d2 Typo in docs. #1802 2012-09-12 15:50:02 +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
8974365ea2 Added missing copyright header. #1802 2012-09-12 10:28:17 +02:00
Patrik Nordwall
018a949678 Merge branch 'master' into wip-2103-cluster-routers-patriknw
Conflicts:
	akka-cluster/src/multi-jvm/scala/akka/cluster/ClientDowningNodeThatIsUnreachableSpec.scala
	akka-cluster/src/multi-jvm/scala/akka/cluster/ClientDowningNodeThatIsUpSpec.scala
	akka-cluster/src/multi-jvm/scala/akka/cluster/ConvergenceSpec.scala
	akka-cluster/src/multi-jvm/scala/akka/cluster/LeaderDowningNodeThatIsUnreachableSpec.scala
	akka-cluster/src/multi-jvm/scala/akka/cluster/LeaderElectionSpec.scala
	akka-cluster/src/multi-jvm/scala/akka/cluster/MultiNodeClusterSpec.scala
	akka-cluster/src/multi-jvm/scala/akka/cluster/SingletonClusterSpec.scala
	akka-cluster/src/multi-jvm/scala/akka/cluster/SplitBrainSpec.scala
	akka-cluster/src/multi-jvm/scala/akka/cluster/UnreachableNodeRejoinsClusterSpec.scala
	akka-cluster/src/test/scala/akka/cluster/ClusterSpec.scala
	akka-remote/src/main/scala/akka/routing/RemoteRouterConfig.scala
2012-09-11 10:55:47 +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
cc2283b500 Remove concurrent access to testconductor ClientFSM, see #2456
* The problem was "cannot write GetAddress(RoleName(second))
  while waiting for registered-listener", which was due to
  enter barrier from one thread and ask for node address from
  another thread.
2012-09-03 14:08:06 +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
9d097bcf50 Making it possible/mandatory to signal which ExecutionContext will actually execute something scheduled 2012-08-08 15:57:30 +02:00
Viktor Klang
1114da2198 Importing language features used by akka-cluster and akka-remote-tests 2012-07-26 14:47:21 +02:00
Roland
b2ce64fb6f fix up multi-jvm tests 2012-07-25 18:02:45 +02:00
Viktor Klang
6fc5fd393d Making sure that the multi-jvm tests compile 2012-07-25 16:33:21 +02:00