Roland
2c9ddeb629
test exceptions during recreation, see #2336
...
fix two bugs:
- resumeChildren should only check the perpetrator if
inResponseToFailure is true
- handleInvokeFailure must not suspend the survivors in case of an
exception in postRestart
2012-08-02 16:59:15 +02:00
Roland
5ffdd69bce
verify preRestart is not called twice, see #2336
2012-08-02 10:23:28 +02:00
Roland
ceb6eec482
randomize hierarchy setup and test Escalate, see #2336
...
- this uncovered a bug in clearing the isFailed state after an escalated
Resume, which is fixed by keeping track of the perpetrator
- also suppress ErrorLogs which are peripheral to the issue at hand
2012-08-01 22:08:22 +02:00
Roland
a6a3ee1954
make random router test less random, hopefully fixes #2293
2012-08-01 12:11:51 +02:00
Roland
f2ec59d9e7
make suspend-test deterministic
2012-07-29 09:37:22 +02:00
Viktor Klang
ae7bb28c55
Merge branch 'master' of github.com:akka/akka
2012-07-27 12:56:13 +02:00
Viktor Klang
5a0e13a094
Adding postfixOps to CustomRouteSpec
2012-07-27 12:54:02 +02:00
Roland
fef479eb30
change timeout of hierarchy stress test to 30.seconds.dilated (takes 10 on my box)
2012-07-27 11:19:37 +02:00
Roland
faae09ab4e
add docs for ExtractRoute, see #2337
2012-07-25 20:48:32 +02:00
Viktor Klang
a0dbd1f9d7
Setting an appropriate sizehint for format in Logging, and removing a superfluous FIXME
2012-07-25 16:15:01 +02:00
Viktor Klang
5a51f7750f
Hopefully correcting the FSMTransitionSpec and a ScalaDoc issue with mailbox.scala
2012-07-24 16:09:23 +02:00
Viktor Klang
d3542f8582
#2341 - enabling -deprecation in AkkaBuild and subsequently fixing tons of deprecation warnings
2012-07-24 12:12:06 +02:00
Viktor Klang
20117a248f
Scalariform
2012-07-24 11:23:58 +02:00
Viktor Klang (√)
29b8035e2b
Merge pull request #579 from akka/wip-2337-route-extractor-∂π
...
add akka.testkit.ExtractRoute, see #2337
2012-07-23 14:31:40 -07:00
Roland
5e6b6f21ff
add akka.testkit.ExtractRoute, see #2337
2012-07-23 17:27:05 +02:00
Roland
2a9678a617
fix SupervisorHierarchySpec
2012-07-23 14:51:55 +02:00
Roland
e305c4c9b7
fix two language feature warnings
2012-07-23 14:28:55 +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
Viktor Klang
21e5133443
#2335 - Adding better failures to AskSupport and added clearer error messages
2012-07-23 13:52:48 +02:00
Viktor Klang
1261fab3af
Removing akka.util.NonFatal and replacing it with scala.util.control.NonFatal
2012-07-22 15:33:18 +02:00
Viktor Klang
94e8d201f0
Removing ExecutionContext from some signatures in Future.scala, changing copyright to Akka for BatchingExecutor
2012-07-22 13:38:12 +02:00
Viktor Klang
f7e3c78a7b
Fixing CircuitBreakerSpec and CircuitBreaker
2012-07-21 13:06:45 +02:00
Viktor Klang
f90b920454
Fixing Future2ActorSpec and adding scaladoc to Batchable and making it extend Runnable
2012-07-21 11:42:16 +02:00
Havoc Pennington
d27c626119
add BatchingExecutor mixin trait to akka.dispatch, unused
...
For now this trait isn't used anywhere and the test is disabled;
just pushing it as something we can build on. It needs to be
hooked in to configuring the ExecutorService probably, and
we are also considering whether to make it a public API and
what that API would be like.
2012-07-20 17:35:03 -04:00
Viktor Klang
6e134ede21
Merge branch 'master' into wip-scala210M4-√
2012-07-20 14:17:27 +02:00
Viktor Klang
3856ec9357
Adding additional router supervision test
2012-07-20 14:13:13 +02:00
Viktor Klang
6d0809f1f4
Fixing FutureSpec SUPERGREEN
2012-07-17 20:18:34 +02:00
Viktor Klang
61b3dec732
Making so that 'pass checks' fails
2012-07-17 17:39:24 +02:00
Viktor Klang
1bf0fe4448
Partial migration to M5
2012-07-17 17:21:08 +02:00
Viktor Klang
b8e7569e56
Merge branch 'master' into wip-scala210M4-√
2012-07-13 15:36:59 +02:00
Viktor Klang
016eaffbfb
Fixing broken ConfigSpec
2012-07-13 15:36:30 +02:00
Viktor Klang
4b2164411c
Merge branch 'master' into wip-scala210M4-√
2012-07-13 12:23:21 +02:00
Viktor Klang
423beed54b
#2285 - Making it possible to emit warning output when a router is configured but not in code.
2012-07-13 12:21:55 +02:00
Roland
f362966ee8
add test for scrapping of behaviorStack during restart
2012-07-08 17:59:59 +02:00
Roland
9ed65d9e8e
fix handling of handleChildTerminated, see #2301
2012-07-08 17:46:14 +02:00
Roland
36ac4d89de
split up ActorCell functionality into multiple source files
...
- created package akka.actor.cell to hold the different traits from
which the ActorCell cake is made
- split up by topic, but leave the message processing itself within
ActorCell
- move ChildrenContainer into the akka.actor.cell package
- move AbstractActorCell also
- make members of the behavior traits private/protected to tighten their
scope as much as possible => make it easier to see what’s going on
2012-07-08 17:41:22 +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
Viktor Klang
948287f293
Fixes #2302 - removing potential race in ActorSystemSpec
2012-07-06 11:17:48 +02:00
Viktor Klang
6aa36ea704
Rewriting the CircuitBreakerMTSpec to be less hysterical
2012-07-05 15:22:55 +02:00
Roland
1cb204da49
Merge branch 'master' into wip-2212-recursive-resume-∂π
...
also split out ChildrenContainer into its own file and add
suspendCounter to UnstartedActorCell
2012-07-05 13:18:19 +02:00
Viktor Klang
032a97e50d
Merge branch 'master' of github.com:akka/akka
2012-07-04 19:22:37 +02:00
Viktor Klang
e1c085161d
Cleaning up SupervisorMiscSpec
2012-07-04 19:17:01 +02:00
Roland
05336c35ee
fix SupervisorSpec race (within the test code)
2012-07-04 19:04:50 +02:00
Viktor Klang
52d33113d9
Partial work + broken commit
2012-07-04 15:25:30 +02:00
Viktor Klang
3911b18069
Merging in master
2012-07-04 15:24:23 +02:00
Viktor Klang
eec6ba099b
Deleting akka.util.cps due to severe lack of attention.
2012-07-04 15:22:16 +02:00
Roland
78a39198f1
another round of fixes due to suspend counting, see #2212
...
- always suspend/resume for Suspend/Resume/Recreate, no matter which
state the actor is in, to keep the counter balanced
- preRestart failures are logged but otherwise ignored; there’s nothing
else (apart from terminating the actor) which we could do at that
point
- preRestart/postRestart exceptions have their own distinguishable
subtype of ActorKilledException now
- fix some race conditions in tests to make them produce fewer false
failures
- remove cruft from SupervisorStrategy and add methods which can
actually be used to implement your own (with proper warning signs)
2012-07-04 09:20:17 +02:00
Viktor Klang
6fb06ee46b
Merge with master and adding copyright notices on the osgi stuff
2012-07-01 22:31:39 +02:00
Oliver Schulz
777addc66c
Merge branch master into bs-iterators
...
Resolved Conflicts:
akka-actor/src/main/scala/akka/util/ByteString.scala
2012-07-01 17:29:12 +02:00
Viktor Klang
0bf45a9403
Initial work in moving to scala.concurrent.Await + Awaitable
2012-06-29 16:06:26 +02:00