Commit graph

12466 commits

Author SHA1 Message Date
Patrik Nordwall
e7cffdd032 Too tight timout/within in FSMTimingSpec, see #2548
* The failing test "was allow StateTimeout override"
* I was able to reproduce by adding small sleep after the first
  within block, and that makes sense since that was 500 ms, which
  is the same as the state timeout.
* Changed state timeout and within timeouts for the failing test
* Added dilation to all durations in the StateMachine actor under
  test
2012-09-27 12:07:35 +02:00
Viktor Klang (√)
24d8d2fae5 Merge pull request #752 from akka/wip-2499-byte-array-serializer-√
#2499 - Adding ByteArraySerializer and change ReflectiveDynamicAccess to...
2012-09-27 02:49:55 -07:00
Viktor Klang
a789e1a19d Switching to not initializing loaded classes up front and cleaning up the test case. 2012-09-27 11:34:04 +02:00
Patrik Nordwall
3f26e3d3d6 Fix issue in ResizeSpec, see #2566
* The problem was (probably) that grow under pressure
  was sending in messages too quickly, which caused skipped
  resize due to many resizeInProgress conflicts
* Overall cleanup
2012-09-27 11:21:59 +02:00
Patrik Nordwall
277a6d7306 Merge pull request #750 from akka/wip-2554-ActorWithBoundedStashSpec-patriknw
Fix racy ActorWithBoundedStashSpec, see #2554
2012-09-27 00:31:08 -07:00
Patrik Nordwall
2b5eb67991 Merge branch 'master' into wip-2552-terminate-remote-deployed-when-shutdown-patriknw 2012-09-27 09:21:23 +02:00
Patrik Nordwall
e7a075a0d9 foreachChild instead of allChildren, see #2552 2012-09-27 09:20:52 +02:00
Patrik Nordwall
7d47091e59 Add some extra safety to Guardian termination hook, see #2552 2012-09-27 08:57:38 +02:00
Patrik Nordwall
7779e49312 Use whileOff instead of fold to avoid confusion, see #2552 2012-09-27 08:35:01 +02:00
Patrik Nordwall
85a4743a47 Correct logic in Switch.whileOff, see #2569 2012-09-27 08:33:54 +02:00
Patrik Nordwall
d9eaace907 Merge pull request #745 from akka/wip-2551-terminate-when-remote-parent-lost-patriknw
Terminate remote deployed actors when parent node goes down, see #2551
2012-09-26 23:15:18 -07:00
Patrik Nordwall
53af6333e6 Merge branch 'wip-2552-terminate-remote-deployed-when-shutdown-patriknw' into wip-2551-terminate-when-remote-parent-lost-patriknw
Conflicts:
	akka-remote/src/main/scala/akka/remote/RemoteDaemon.scala
2012-09-27 08:12:48 +02:00
Viktor Klang
5ebbd0689e Adding more rigorous tests for ByteArraySerializer 2012-09-27 01:10:07 +02:00
Viktor Klang
88bc75daf0 #2499 - Adding ByteArraySerializer and change ReflectiveDynamicAccess to use Class.forName with classloader instead of classloader loadClass directly. 2012-09-27 00:59:33 +02:00
Roland Kuhn
28c1e285f6 clarify purpose of ActWithStash 2012-09-26 21:35:35 +03:00
Viktor Klang
4441b03e07 Restructuring the CamelConfigSpec for fun and profit 2012-09-26 17:30:09 +02:00
Viktor Klang
cd0c96ff9c #2568 - Adding the ability to configure body conversions in the config file. 2012-09-26 17:12:30 +02:00
Patrik Nordwall
289c161baa Fix racy ActorWithBoundedStashSpec, see #2554
* Several things were racy in ActorWithBoundedStashSpec
* pushTimeout could come in to play
* shared mailbox between the two test cases
* didn't verify order of messages
* mailbox capacity could fill up in not intended way, e.g.
  11 messages could be sent before any of them was processed
* etc
2012-09-26 16:10:20 +02:00
Viktor Klang
616f8be730 Clarifying how max-pool-size-x is determined 2012-09-26 14:14:33 +02:00
Patrik Nordwall
c6dd37607c Revert wrong changes in ClusterConsistentHashingRouterSpec 2012-09-26 14:11:19 +02:00
Patrik Nordwall
8956523d5f Clean up remote-deployed children when target node goes down, see #2550
* ClusterActorRefProvider watch remote deployed actors and sends
  ChildTerminated when AddressTerminated
* Added addressTerminated flag to Terminated to know when the Terminated
  was generated from a AddressTerminated
* Extra removal of child when the Terminated originates from AddressTerminated
  to support immediate creation of child with same name
2012-09-26 14:06:44 +02:00
Viktor Klang
4100c2d9b3 Fixing ProducerFeatureTest 2012-09-26 12:39:15 +02:00
Viktor Klang (√)
86bd49d093 Merge pull request #748 from RayRoestenburg/wip-camel-fix
Wip camel fix
2012-09-26 01:12:34 -07:00
RayRoestenburg
96045d18d2 camel fix for the situation that the test can send to deadletters or may not, so it should not assert on the event filter in ConcurrentActivationTest 2012-09-26 00:17:39 -05:00
RayRoestenburg
d2a467583e fix scalariform error, cant handle the 2.10 string interpolation syntax 2012-09-26 00:09:16 -05:00
Viktor Klang
1666b55170 Minor tidying up in CamelMessage 2012-09-26 02:29:07 +02:00
Viktor Klang
b2c02b7540 Unborking ActivationTrackerTest 2012-09-26 02:20:12 +02:00
Viktor Klang (√)
e8218becce Merge pull request #737 from RayRoestenburg/wip-camel-tickets
ticket #1925 concurrent tests for producer and consumer activation
2012-09-25 16:16:41 -07:00
RayRoestenburg
d0a50f66e7 Tickets #1924 #1925 #2383 #2387 #1927 #1926
Changed unlimited blocking to block up untill the replyTimeout, and added a test for it, where manual Ack is never received ticket #1926

removed unnecesary methods
2012-09-25 17:57:07 -05:00
Viktor Klang
112e02e965 Merge branch 'master' of github.com:akka/akka 2012-09-25 19:12:35 +02:00
Viktor Klang
76a98d4071 #2082 - Adding conditional google search bar into the online version of the Akka docs 2012-09-25 19:11:21 +02:00
Patrik Nordwall
a38694bd69 Remove race when terminating, see #2552 2012-09-25 18:35:07 +02:00
Viktor Klang
81c8245349 Adding unconditional Google search bar to the html docs. 2012-09-25 16:54:22 +02:00
Patrik Nordwall
490d723f81 Incorporate review feedback, see 2551 2012-09-25 16:30:20 +02:00
Viktor Klang
fc5f414195 Clarifying the core-pool-size-factor and parallelism-factor in the reference.conf documentation. 2012-09-25 15:08:09 +02:00
Patrik Nordwall
fd757fb680 Terminate remote deployed actors when parent node goes down, see #2551
* RemoteSystemDaemon listens to AddressTerminated and stops matching children
2012-09-25 15:08:08 +02:00
Patrik Nordwall
01bdf41f7f Merge pull request #743 from akka/wip-2549-LeaderLeavingSpec-racy-patriknw
Race in LeaderLeavingSpec, see #2549
2012-09-25 05:33:56 -07:00
Patrik Nordwall
1ab4fd3ca9 Merge pull request #735 from akka/wip-2535-netty-shutdown-patriknw
Don't await the write of shutdownSignal to openChannels when shutting netty, see #2535
2012-09-25 05:19:05 -07:00
Patrik Nordwall
d6e5b0a46b Terminate remote-deployed actors when system shutdown, see #2552
* Termination hook mechanism in system guardian to be able to
  notify RemoteSystemDaemon and wait for it to terminate children
* Stopping the children will trigger ordinary death watch mechanism,
  in for example routers
* Note bug in RemoteSystemDaemon, watch of children was not done
  properly, which might have been a memory leak for remote deployed
  actors.
2012-09-25 14:12:04 +02:00
Viktor Klang (√)
4e2c0e6671 Merge pull request #730 from akka/wip-2525-√
Wip 2525 √
2012-09-25 03:50:25 -07:00
Björn Antonsson
426120f50c EventStream should publish to all matching traits. See #2525 2012-09-25 12:32:56 +02:00
Roland Kuhn
3307b6ebce Merge pull request #742 from akka/wip-2411-describe-ActorDSL-∂π
Wip 2411 describe actor dsl ∂π
2012-09-25 03:24:48 -07:00
Roland
be877a6197 export supervision tools in Act trait, and other review fixes
- add more cross references to ActorDSL docs
- improve SBT command line for running the multi-node test
- correct small error in Restart Hooks section of actors.rst
2012-09-25 12:20:52 +02:00
Patrik Nordwall
efe32d1fef Merge pull request #741 from akka/wip-2544-NPE-SunnyWeatherSpec-patriknw
NPE in SunnyWetherSpec, see #2544
2012-09-25 02:02:57 -07:00
Patrik Nordwall
f3eadcd927 Race in LeaderLeavingSpec, see #2549
* Since the leaving cluster is shutdown it's not
  possible to use the readView to assert that thing.
* Removed the check, enough verification in other parts of the test
   anyway
2012-09-25 10:58:40 +02:00
Roland
3627b6cb4c replace/add READMEs for the samples (keep it simple) 2012-09-25 09:27:13 +02:00
Patrik Nordwall
b18817d933 NPE in SunnyWetherSpec, see #2544 2012-09-25 08:48:33 +02:00
Roland
0489c5daf1 document ActorDSL, see #2411 2012-09-25 08:25:24 +02:00
Viktor Klang
5dbd16dc9e Removing unused expression 2012-09-25 00:56:48 +02:00
Viktor Klang
0c6ce66e9b Cleaning up a merge fault in the MetricsCollectorSpec 2012-09-25 00:56:10 +02:00