Commit graph

90 commits

Author SHA1 Message Date
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
Björn Antonsson
b1170607a6 Make AkkaSpec getCallerName work on J9. See #2996 2013-05-30 07:48:53 +02: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
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
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
Rich Dougherty
f6a14cb5ac Dump diagnostics (Coroner's Report) if a test takes too long. Fixes #3110 2013-03-08 12:39:19 +13: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
Viktor Klang
adfeb2c1f0 #2879 - updating copyright info 2013-01-09 11:38:00 +01:00
Roland
6c31d5313e rename AkkaSpec.{atTermination => afterTermination} 2013-01-03 17:17:12 +01:00
Roland
ff24be7650 introduce AkkaSpec.beforeTermination hook, e.g. to silence shutdown logs
- apply it in RemoteRouterSpec, RemoteDeathWatchSpec, RemotingSpec,
  AkkaProtocolStressTest and ThrottlerTransportAdapterSpec
2013-01-03 17:09:11 +01: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
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
7299450121 Make akka-testkit and akka-remote-tests contain enough for MultiNodeSpec. See #1802 2012-09-10 13:14:48 +02:00
Roland
0e8a6d3b30 (oh snap, had increased thread count in AkkaSpec) 2012-09-04 10:58:39 +02:00
Roland
7ece60d998 add even more logging 2012-09-04 10:57:13 +02:00
Viktor Klang
20881c777d #2396 - Removing the Props.apply(ActorContext => Actor.Receive) method as it is superceded by the ActorDSL 2012-08-29 18:00:14 +02:00
Roland
dca8d15c68 Merge branch 'wip-2212-recursive-resume-∂π' into wip-scala210M5-√
only merged so that it compiles, will clean up warnings in the following
commits
2012-07-23 14:17:45 +02:00
Roland
8517d24c3a send Supervise before attaching to dispatcher, see #2301 2012-07-13 11:49:26 +02:00
Viktor Klang
e62a0eee1c Merge with master 2012-06-29 16:07:36 +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
Patrik Nordwall
a900052f68 Propagate akka system properties to multi-node tests, see #2280
* Change build to propagate all system properties starting with 'akka.'
  to multi-jvm and multi-node tests.
* Adjusted AkkaSpec and MultiNodeSpec to use load of the config, which
  means that default overrides (system properties) are used.
2012-06-28 11:40:53 +02:00
Viktor Klang
4ae26230b3 Merge branch 'master' into wip-scala210M4-√ 2012-06-26 12:15:46 +02:00
Viktor Klang
543737a933 Updating to scalatest 2.10.0-M4-x-B2 and adding feature imports 2012-06-21 16:09:14 +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
viktorklang
9581ec8403 Merge pull request #511 from akka/wip-2134-deathwatch2.0-√
Wip 2134 deathwatch2.0 √
2012-06-05 03:33:01 -07:00
Viktor Klang
17ee47079a Incorporating Roland's feedback 2012-06-02 14:49:28 +02:00
Viktor Klang
e3e391e5aa Removing DaemonMsgWatch, oh yeah baby. However, still no cigar 2012-05-29 14:14:06 +02:00
Roland
ea090bdfd2 get better auto-generated actor system names in tests, see #2122 2012-05-24 13:56:50 +02:00
Patrik Nordwall
8924080017 Create test-fixture for durable mailboxes. See #2061
* Improved DurableMailboxSpec for stand alone usage
* Changed build to publish DurableMailboxSpec in akka-mailboxes-common-test
* Changed documentation of durable mailboxes and added full example of
  how to implement a durable mailbox, with test
2012-05-15 16:11:00 +02:00
Roland
afd81d8506 Revert "closes #2019: Use parentheses for arity-0 methods which are not referentially transparent"
This reverts commit 8dbfbbe966.
2012-05-03 21:14:47 +02:00
Heiko Seeberger
8dbfbbe966 closes #2019: Use parentheses for arity-0 methods which are not referentially transparent 2012-04-24 16:38:21 +02:00
Roland
84c08e8a63 add option to log UnhandledMessage, see #1999
- LoggingBus.startDefaultLoggers will register a forwarder actor for
  UnhandledMessage, which republishes them as Debug message
- add tests and docs
- TestEventListener logs UnhandledMessage as Warning
2012-04-23 15:40:21 +02:00
Jonas Bonér
0d022afa5e Created test tag LongRunningTest ("long-running") for excluding long running (cluster) tests from standard suite.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-28 11:15:53 +01:00
Patrik Nordwall
e017aeef08 Replace akka.actor.timeout with specfic settings. See #1808
* ActorTimeout (akka.actor.timeout) was used to all sorts of things.
* TestKit default-timeout
* TypedActor timeout for non void methods
* Transactor coordinated-timeout
* ZeroMQ new-socket-timeout
* And in various tests
2012-02-10 16:07:17 +01:00
Viktor Klang
a950fe2d9b Switching to FJP as default in the tests 2012-02-01 10:10:13 +01:00
Viktor Klang
465c29107d Migrating tests to use the new config for dispatchers 2012-01-30 16:34:25 +01:00
Roland
34a0f005b1 Merge branch 'master' into wip-1581-patterns-ask 2012-01-20 19:29:17 +01:00
Viktor Klang
149fbea5a7 Updating Copyright as per #1660 2012-01-19 18:21:06 +01:00
Patrik Nordwall
fd68752fbe Another adjustment of pool-size 2012-01-18 19:49:38 +01:00
Roland
1daaee98aa Merge remote-tracking branch 'origin/master' into wip-1581-patterns-ask 2012-01-18 14:20:13 +01:00
Roland
2bed2cb954 move everything into package akka.pattern 2012-01-18 10:18:51 +01:00
Patrik Nordwall
387ffe1bce Limit of default-dispatcher pool size, since we run tests in parallel 2012-01-17 15:23:13 +01:00
Nikolay Botev
ce1d2f4721 akka.patterns.ask everywhere 2012-01-01 22:23:19 -08:00
Patrik Nordwall
df260f8939 Improvements based on feedback. See #1458 2011-12-21 19:02:06 +01:00
Patrik Nordwall
f772b0183e Initial commit of dispatcher key refactoring, for review. See #1458
* Changed signatures and constructor of MessageDispatcherConfigurator
* Changed Dispatchers.lookup, keep configurators instead of dispatchers
* Removed most of the Dispatchers.newX methods, newDispatcher is still there because of priority mailbox
* How should we make it easy to configure priority mailbox?
* Changed tons tests
* Documentation and ScalaDoc is not updated yet
* Some tests in ActorModelSpec are temporary ignored due to failure
2011-12-21 13:27:50 +01:00
Viktor Klang
c904fd3913 Making TestLatch Awaitable and fixing tons of tests 2011-12-19 15:05:33 +01:00
Viktor Klang
e959493e12 Enormous merge with master which probably led to the indirect unfortunate deaths of several kittens 2011-12-14 17:36:39 +01:00
Roland
5eedbdd69f rename ActorSystem.stop() to .shutdown() 2011-12-14 01:06:20 +01:00
Roland
cb85778b12 remove ActorRef.stop()
- replace ActorRef.stop() by ActorRefFactory.stop(child) everywhere
- ActorCell “optimizes” this to remove the child from its childrenRefs
  in order to allow immediate recycling of the name
- the lost soul must have a place, for which the Locker has been
  created, where Davy Jones will happily rebind the soul to his ship
  (i.e. set “parent” to the locker to avoid mem leak) and periodically
  revisit it (.stop(), in case of that being lost in comm failure,
  similar .watch() to re-check liveness)
2011-12-14 00:10:53 +01:00