Commit graph

651 commits

Author SHA1 Message Date
Patrik Nordwall
8e74bbdc8b =tes #3727 Fix timing failure in TestTimeSpec 2013-12-12 21:50:49 +01:00
Marcus Ljungblad
72acd5288b !tes #3638 ImplicitSender and DefaultTimeout requires TestKitBase 2013-12-12 14:50:43 -05:00
Patrik Nordwall
b072a530ef !act #2770 Remove deprecated FSM.timerActive_?
* and a few similar in TypedActor
2013-12-12 13:11:01 +01:00
Björn Antonsson
208b566551 =act #3720 Optimze actor creation speed and actor size 2013-12-12 09:06:29 +01:00
Björn Antonsson
00a268b6b3 =pro #3753 Override dependency versions from command line 2013-12-03 16:47:10 +01:00
Patrik Nordwall
ebadd567b2 !act,rem,clu #3549 Simplify and enhance routers
* Separate routing logic, to be usable stand alone, e.g. in actors
* Simplify RouterConfig, only a factory
* Move reading of config from Deployer to the RouterConfig
* Distiction between Pool and Group router types
* Remove usage of actorFor, use ActorSelection
* Management messages to add and remove routees
* Simplify the internals of RoutedActorCell & co
* Move resize specific code to separate RoutedActorCell subclass
* Change resizer api to only return capacity change
* Resizer only allowed together with Pool
* Re-implement all routers, and keep old api during deprecation phase
* Replace ClusterRouterConfig, deprecation
* Rewrite documentation
* Migration guide
* Also includes related ticket:
  +act #3087 Create nicer Props factories for RouterConfig
2013-10-16 09:27:13 +02:00
Björn Antonsson
4e1100f84d =doc #3639 Show complete custom mailbox example. 2013-10-15 12:18:17 +02:00
Patrik Nordwall
33ebf24c0f =act #3565 Add ClassTag in Props.apply(creator)
* Remove deprecated apply without ClassTag
2013-08-28 17:48:48 +02:00
Endre Sándor Varga
c1928da944 =tes #3563: Mark internal Testkit messages as NoSerializationVerificationNeeded 2013-08-28 14:12:38 +02:00
Björn Antonsson
4a2b6effb3 =pro #3552 Upgrade ScalaTest to 1.9.2-SNAP2 for dbuild
* This can't go into 2.2.x since ScalaTest 1.9.2-SNAP2 has source incompatible changes and the dependecy in akka-multi-node-node-testkit would force people to upgrade.
2013-08-19 15:08:29 +02:00
Roland Kuhn
e976b13566 Merge pull request #1546 from akka/wip-3449-random-name-in-TestActorRef-for-java-√
#3449 - Adding a new factory method for creating TestActorRefs in Java ...
2013-06-20 04:55:28 -07:00
Viktor Klang
f333c7c345 #3457 - Adding proper type to TestFsmRef 2013-06-20 00:04:57 +02:00
Viktor Klang
3a394ecda2 #3449 - Adding a new factory method for creating TestActorRefs in Java without having to specify a name. 2013-06-19 03:14:25 +02:00
Roland
20eb28a03c move deadLetterMailbox into Mailboxes and fix review comments, see #3342 2013-06-03 11:41:11 +02:00
Roland
f317aaf711 rewrite mailbox selection logic, see #3342
- add “mailbox-requirement” key to dispatcher section
- split out mailbox section, add akka.actor.default-mailbox
- rewrite findMarker method and use it for Props.create() and getting
  the required mailbox of an actor
- add ProducesMessageQueue trait for MailboxType so that requirements
  can be checked before trying to create the actor for real
- verify actor as well as dispatcher requirements for message queue
  before creation, even in remote-deployed case
- change MessageDispatcher constructor to take a Configurator, add that
  to migration guide
2013-06-02 12:32:04 +02:00
Björn Antonsson
b1170607a6 Make AkkaSpec getCallerName work on J9. See #2996 2013-05-30 07:48:53 +02:00
Patrik Nordwall
53728312e9 Remove redundant should/must in tests, see #3272 2013-05-28 12:16:31 +02:00
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