Commit graph

143 commits

Author SHA1 Message Date
Patrik Nordwall
f4d59383d7 Log actor failures in supervisor, see #2824
* To make it possible to override with application
  specific logging, or mute logging for certain failures
* Changed log level of Resume failures to WARNING, which
  caused all the changes to the tests
2013-03-11 13:33:37 +01:00
Patrik Nordwall
e8f90a6605 Make RandomRoutedRemoteActorSpec lucky, see #3061
* The failure was probably because of bad luck that no
  message was routed to one routee (unlikely things happen).
2013-02-22 15:23:19 +01:00
Roland
c3b363c9b3 move multi-node-testkit into its own module, see #2981 2013-02-11 14:37:37 +01:00
Patrik Nordwall
a651875020 Use configured hostname instead of getHostName, see #2997
* getHostName may trigger reverse name lookup
* use the configured hostname in all places
2013-02-06 14:11:15 +01:00
Patrik Nordwall
2476831705 Rename event-handlers to loggers, see #2979
* Rename config akka.event-handlers to akka.loggers
* Rename config akka.event-handler-startup-timeout to
  akka.logger-startup-timeout
* Rename JulEventHandler to JavaLogger
* Rename Slf4jEventHandler to Slf4jLogger
* Change all places in tests and docs
* Deprecation, old still works, but with warnings
* Migration guide
* Test for the deprecated event-handler config
2013-02-05 11:19:02 +01:00
Endre Sándor Varga
8795c8dd3c Reversed order in which adapters are applied from config
Needed to be aligned with the new scheme format
2013-01-25 11:42:57 +01:00
drewhk
fe22c7515f Reversed protocol scheme order in Addresses 2013-01-24 17:23:51 +01:00
Endre Sándor Varga
99adbdfab4 Changed and documented new remoting configuration #2593 2013-01-24 12:35:05 +01:00
Björn Antonsson
cd9fae81e5 Making test more DRY. See #2862 2013-01-18 13:58:46 +01:00
Patrik Nordwall
5dc108567d Style change of def starting with if
* When a def starts with if and is not a oneliner the if
  should be on a new line.
* The reason is that it might be easy to miss the if when
  reading the code.
2013-01-18 13:28:49 +01:00
Björn Antonsson
a694946f19 Clean up network connections from the test coordinator and player. See #2862 2013-01-18 10:28:21 +01:00
Viktor Klang (√)
6b638db65e Merge pull request #1006 from akka/wip-2879-copyright2013-√
#2879 - updating copyright info
2013-01-14 04:59:29 -08:00
Patrik Nordwall
8a880c16d2 Adjust protocol pattern in LogRoleReplace for new remoting 2013-01-09 15:33:28 +01:00
Viktor Klang
adfeb2c1f0 #2879 - updating copyright info 2013-01-09 11:38:00 +01:00
Patrik Nordwall
f876d921ff fix broken rename of nanoTimeOfLastSend 2013-01-04 13:07:56 +01:00
Patrik Nordwall
48c6374721 Clean shutdown of ReliableProxySpec, see #2846
* Solved by adding missing Dequeue in throttler
* Changed to FSM timers in throttler
* Some boy scouting
2013-01-04 12:54:54 +01:00
Roland
6c31d5313e rename AkkaSpec.{atTermination => afterTermination} 2013-01-03 17:17:12 +01:00
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