Commit graph

434 commits

Author SHA1 Message Date
Viktor Klang (√)
ba88c44b6f Merge pull request #1462 from akka/wip-slight-improvement-to-coroner-output-√
Minor improvement to Coroner thread count formatting.
2013-05-23 02:07:58 -07:00
Viktor Klang
afe755eebf Minor improvement to Coroner thread count formatting. 2013-05-22 15:42:44 +02:00
Roland Kuhn
f055fafe32 Merge pull request #1461 from akka/wip-scala-2.11-∂π
2.11.0-M3: make it compile and fix a test
2013-05-22 05:42:58 -07:00
Roland
0ac9333b50 make it compile with Scala 2.11.0-M3 2013-05-22 11:49:52 +02:00
Patrik Nordwall
5a292e7fb9 davyJones should be sender, see #3366 2013-05-17 15:32:40 +02:00
Patrik Nordwall
ad1eaa6d4a Remove auto-join config, derive from seed-nodes, see #3359 2013-05-17 13:54:51 +02:00
Roland
f626f1d719 fix TestTimeSpec, see #3317 2013-05-07 20:02:59 +02:00
Patrik Nordwall
236330f3c6 Merge pull request #1401 from akka/wip-3265-heartbeating-race2-patriknw
Changed design of RemoteWatcher due to cleanup race, see #3265
2013-05-07 04:27:26 -07:00
Björn Antonsson
e00ab533bb Wait on shutdown of extra actor systems in tests. See #3217 2013-05-07 11:02:03 +02:00
Patrik Nordwall
7628889b43 Changed design of RemoteWatcher due to cleanup race, see #3265
* The problem was a race caused by HeartbeatReq sent out, and
  the watchee terminated immediately. That caused the RemoteWatcher
  peers watching each other without any other watch registered.
  It is racy.
* Instead of one-way heartbeats from the side beeing watched I
  changed to ping-pong style. That makes the problem go away
  and simplifies a lot of things in RemoteWatcher.
2013-05-04 17:35:12 +02:00
Roland Kuhn
d6ff7166d7 Merge pull request #1394 from drexin/wip-drexin-remove-deprecated-props-calls-java
removed calls to deprecated Props constructor in java code
2013-05-03 01:36:45 -07:00
Patrik Nordwall
33a8808a6d Enable usage of MultiJvm nrOfNodes in cluster StressSpec, see #2787
* Adjustments to StressSpec for testing large clusters
* Performance improvement of mute deadLetters
2013-05-02 19:17:08 +02:00
drexin
308428e7bc removed calls to deprecated Props constructor in java code 2013-05-02 17:00:44 +02:00
Björn Antonsson
bdfc1e4bf9 Merge pull request #1377 from akka/wip-2936-count-number-of-threads-during-tests-ban
Count the number of threads during tests to find leaks. #2936
2013-05-02 07:12:32 -07:00
Björn Antonsson
d34996ae11 Count the number of threads during tests to find leaks. See #2936 2013-04-29 13:32:00 +02:00
Dario Rexin
b947b7208d removed some deprecation warnings from akka-testkit 2013-04-26 21:12:58 +02:00
Patrik Nordwall
2ebb2a0b9c Solve UnreachableNodeJoinsAgainSpec problem, see #3247
* UnreachableNodeJoinsAgain failed because of gated connection
* Removed default test value of retry-gate-closed-for, instead
  default from reference.conf is used, i.e. 0s
* deadLetters logging love
2013-04-23 15:43:10 +02:00
Björn Antonsson
c3eed374f1 Allow different types of mailboxes on the same dispatcher. See #2687 2013-04-19 13:42:58 +02:00
Viktor Klang
2c5370f7ba #3198 - Making CoronerSpec taggedAs TimingTest 2013-04-10 13:07:31 +02:00
Viktor Klang
dd03b40c5a #3215 - fixing race in JavaTestkitSpec 2013-04-10 10:56:09 +02:00
Viktor Klang
e59394628c #3206 - Adding expectTerminated to TestKit 2013-04-09 14:48:17 +02:00
Patrik Nordwall
c77cdeb86b Merge pull request #1277 from akka/wip-3074-deprecate-actorFor-patriknw
Deprecate actorFor in favor of ActorSelection, see #3074
2013-04-08 11:48:48 -07:00
Patrik Nordwall
887af975ae Deprecate actorFor in favor of ActorSelection, see #3074
* Deprecate all actorFor methods
* resolveActorRef in provider
* Identify auto receive message
* Support ActorPath in actorSelection
* Support remote actor selections
* Additional tests of actor selection
* Update tests (keep most actorFor tests)
* Update samples to use actorSelection
* Updates to documentation
* Migration guide, including motivation
2013-04-08 18:11:52 +02:00
Patrik Nordwall
4b563dacb2 Merge pull request #1311 from akka/wip-2728-testfsmref-patriknw
Cleanup of TestActorRef constructor, see #2728
2013-04-08 07:19:38 -07:00
Patrik Nordwall
9bf46e476c Cleanup of TestActorRef constructor, see #2728
* Don't expose internal classes in public constructor
2013-04-08 12:02:27 +02:00
Patrik Nordwall
f5f3608111 Make JavaTestKit match TestKit, see #3042
* Added a few methods
* Added (copied and adjusted) JavaDoc
2013-04-08 11:36:43 +02:00
Viktor Klang (√)
641e499cc4 Merge pull request #1287 from akka/wip-2970-lightweight-ec-form-promiseactorref-√
#2970 - Removing scheduler and dispatcher from ARP and reimplementing P...
2013-04-03 11:23:54 -07:00
Viktor Klang
fcfe7b4617 #2970 - Removing scheduler and dispatcher from ARP and reimplementing PromiseActorRef to use an internal calling thread EC 2013-04-03 19:12:03 +02:00
Viktor Klang
c883705242 #3018 - Enabling -Xlint and dealing with the situation that occurs 2013-03-29 01:43:17 +01:00
Björn Antonsson
428bdf5fb4 Merge pull request #1275 from akka/wip-make-coroner-print-full-stack-traces-ban
Make The Coroner print full stack traces.
2013-03-26 03:06:50 -07:00
Björn Antonsson
f7ad87ce8d Make The Coroner print full stack traces. 2013-03-25 15:11:40 +01:00
Patrik Nordwall
118917d2be awaitCond = awaitCond with better error reporting, see #3168 2013-03-25 12:58:25 +01:00
Endre Sándor Varga
f8c3717ca1 Changed Failed to be a SystemMessage
- Moved system messages to their own package.
 - All queueing operations are now hidden behind a SystemMessageList value class
 - Introduced dual SystemMessageList types to encode the ordering in the type.
   - Protects against accidentally missed reverse calls or accidentally reversed lists
   - Makes ordering expectations by fields/parameters explicit
 - Fixed serialization tests
 - Fixes to logging in HierarchyStressSpec
2013-03-22 12:02:31 +01:00
Rich Dougherty
a78e26ae41 Merge pull request #1211 from akka/wip-3110-test-thread-dump-rich
Dump diagnostics (Coroner's Report) if a test takes too long. Fixes #3110
2013-03-07 23:21:35 -08:00
Rich Dougherty
f6a14cb5ac Dump diagnostics (Coroner's Report) if a test takes too long. Fixes #3110 2013-03-08 12:39:19 +13:00
Roland
bcfbea42c1 fix formatting of Java API in doc comments + genjavadoc 0.3 2013-03-07 09:05:55 +01:00
Björn Antonsson
cd847e3a29 Merge pull request #1214 from akka/wip-3064-tcpconnectionspec-times-out-ban
Back off if another thread has processed all messages for this actor. See #3064
2013-03-06 06:41:51 -08:00
Björn Antonsson
ccdee92961 Back off if another thread has processed all messages for this actor. See #3064 2013-03-06 14:05:04 +01:00
Björn Antonsson
bec41e9ba6 Adding more information in TestKit asserts. See #3040 2013-02-28 09:41:08 +01:00
Patrik Nordwall
2a45d99ab3 Change more copyright to 2009-2013, see #2879
* Also added some missing headers
2013-02-20 21:26:52 +01:00
Rich Dougherty
b6c1527cbd Add receiveN to JavaTestKit. Fixes #3029 2013-02-13 15:30:15 +13:00
Rich Dougherty
3b98ba249b Improved router documentation. Fixes #2874
* Edit of basic usage and design.
  * Rearranged order of sections.
  * Added more information on special message types.
  * Added receiveN to JavaTestKit.
2013-02-12 12:25:41 +13:00
Patrik Nordwall
c7ed66d3d8 Merge pull request #1105 from akka/wip-3009-deadLetters-sender-patriknw
Preserve sender when sending to deadLetters, see #3009
2013-02-05 02:35:13 -08: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
Patrik Nordwall
939893ef5f Preserve sender when sending to deadLetters, see #3009 2013-02-04 12:41:58 +01:00
Viktor Klang
e519e3dc3b #2986 - Changing ActorContext and ActorRefFactory's dispatcher to return ExecutionContext 2013-01-31 15:41:31 +01:00
Patrik Nordwall
ed18c57183 Stop sending 'timeout' from ReceiveTimeoutActor, see #2961 2013-01-28 16:40:33 +01:00
Roland
c0e85c71ce fix CallingThreadDispatcherModelSpec, see #2821
The problem was that the “waves of actors” test leaves behind lots of
garbage for the CTD to clean up, and its own
CallingThreadDispatcherQueues.gc() then happens to run when the guardian
creates the top-level actor in the following test case, which takes
longer than 3 seconds to run. Fix it by making the GC interval 100ms
instead of 1sec so that the amount of garbage is limited.

Also, replacing .mapValues(...).filter(...) with
.foldLeft(.newBuilder)(...) makes it twice as fast.

And even more so: unregistering mailboxes upon actor termination removes
the cost nearly completely for the “waves of actors” case.
2013-01-25 08:12:24 +01:00
Roland
405174d4c3 don’t use the testActor.queue for probe.watch(), see #2915 2013-01-24 13:44:54 +01:00
Roland Kuhn
7066b37077 Merge pull request #1027 from akka/wip-2904-timer-∂π
first cut of new AkkaTimer, see #2904
2013-01-23 11:06:41 -08:00