Commit graph

209 commits

Author SHA1 Message Date
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
afe755eebf Minor improvement to Coroner thread count formatting. 2013-05-22 15:42:44 +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
Björn Antonsson
e00ab533bb Wait on shutdown of extra actor systems in tests. See #3217 2013-05-07 11:02:03 +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
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
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
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
Rich Dougherty
f6a14cb5ac Dump diagnostics (Coroner's Report) if a test takes too long. Fixes #3110 2013-03-08 12:39:19 +13:00
Rich Dougherty
b6c1527cbd Add receiveN to JavaTestKit. Fixes #3029 2013-02-13 15:30:15 +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
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
405174d4c3 don’t use the testActor.queue for probe.watch(), see #2915 2013-01-24 13:44:54 +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
Rich Dougherty
9a1e7d0519 Rename FSM and TestFSMRef's timerActive_? to isTimerActive. Fixes #2766 2012-12-06 17:28:49 +01:00
Viktor Klang
d01ea366ce #2661 - Changing ignoreMsg of TestProbe to take a PF from Any instead of AnyRef, to support primitives 2012-10-29 23:07:06 +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
Patrik Nordwall
1e0a29d939 Wipe @author tags
* we have collective code ownership and
  authorship is maintained by the git log
2012-10-05 08:23:11 +02:00
Roland
947cea3a8c more conversion to FiniteDuration, plus fix the build, see #2521
- also remove resetReceiveTimeout and change receiveTimeout() to return
  a Duration (which may be Undefined)
- also move akka.actor.{cell -> dungeon}, because that is
  + an adequate name
  + and does not coincide with the lowercase version of a class name
2012-09-18 18:17:44 +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
182510234c Move test of AkkaSpec to test again. 2012-09-10 13:14:49 +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
Patrik Nordwall
dad04cf9e5 DeathWatch must only notify when watching, see #1588
* Discard Terminated when not watching the subject
* This will filter eventual duplicates
* Note about the fw case  in Scaladoc of Terminated
* Added description of changed behaviour in migration guide
2012-09-03 18:36:11 +02:00
Viktor Klang (√)
8de174723b Merge pull request #659 from akka/wip-2450-√
#2450 - Fixing expectMsgAllConformingOf and expectMsgAllClassOf + adding...
2012-08-30 05:38:19 -07:00
Viktor Klang
e462784c09 #2450 - Fixing expectMsgAllConformingOf and expectMsgAllClassOf + adding more tests 2012-08-30 11:59:56 +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
ac5b5de90a Merging in master, huge work trying to get things to compile, tests not green at this stage 2012-07-06 17:04:04 +02:00
Roland
cde7b29a33 Merge branch 'wip-1952-testkit-java-∂π' 2012-07-04 17:38:20 +02:00