Commit graph

12466 commits

Author SHA1 Message Date
Peter Veentjer
ce1407858c - initial example on the clustered test to get me up and running.. will be refactored to a more useful testin the very near future. 2011-06-29 13:33:41 +03:00
Patrik Nordwall
ce3586221c Added description of how to cancel scheduled task 2011-06-29 08:43:51 +02:00
Derek Williams
ccb8440912 Move Timeout into actor package to make more accessible, use overloaded '?' method to handle explicit Timeout 2011-06-28 15:20:31 -06:00
Derek Williams
81b361e6d7 Merge branch 'master' into wip-derekjw 2011-06-28 12:21:44 -06:00
Martin Krasser
d25b8ce92c re-enable akka-camel and akka-camel-typed and fix compile and test errors 2011-06-28 16:53:11 +02:00
Peter Vlugter
86cfc8672e Include package name when calling multi-jvm tests 2011-06-28 20:35:30 +12:00
Roland
956d055d87 make currentMessage available in preRestart, test #957
- use Option[Any] since currentMessage may be unavailable (supervisor
  being restarted)
- plus docs
2011-06-27 22:20:09 +02:00
Peter Veentjer
9ee978f0f6 - moving the storage related file to the storage package
- added some return types to the Cluster.scala
2011-06-27 22:27:40 +03:00
Roland
10256991cb add Actor.freshInstance hook, test #955 2011-06-27 19:09:09 +02:00
Jonas Bonér
c145dcb818 Merge branch 'master' of github.com:jboner/akka 2011-06-27 18:58:01 +02:00
Jonas Bonér
82391e728c Fixed broken support for automatic migration of actors residing on crashed node.
Also hardened the test for automatic migration of actors.

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-06-27 18:57:48 +02:00
Peter Veentjer
2a19ea106b - more work on the storage functionality 2011-06-27 13:47:04 +03:00
Jonas Bonér
fefb902350 Added 'private[cluster]' to all methods in ClusterNode API that deals with UUID.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-06-27 11:53:24 +02:00
Jonas Bonér
5a04095c6b Added multi-jvm test for ClusterDeployer 2011-06-27 08:51:54 +02:00
Roland
48feec0bbb add debug output to investigate cause of RoutingSpec sporadic failures
"smallest mailbox" test fails randomly on my notebook
2011-06-26 22:32:56 +02:00
Roland
e7f3945776 add TestKit.expectMsgType
- plus docs
- and replace softTimeout hack with better solution
2011-06-26 17:40:30 +02:00
Jonas Bonér
426b1328f2 Added 'node.shutdown()' to all multi-jvm tests.
Renamed MigrationExplicit test.

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-06-26 15:26:32 +02:00
Jonas Bonér
7a5c95e44d Added tests for automatic actor migration when node is shut down.
Updated to modified version of ZkClient (0.3, forked and fixed to allow interrupting connection retry).

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-06-26 15:04:11 +02:00
Jonas Bonér
15addf2b87 Reorganized tests into matching subfolders.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-06-26 13:41:41 +02:00
Jonas Bonér
a0abd5ef57 Fixed problems with actor migration in cluster and added tests for explicit actor migration through API 2011-06-26 09:49:03 +02:00
Derek Williams
1d710cc0a4 Make better use of implicit Timeouts, fixes problem with using KeptPromise with aggregate methods (like traverse and sequence) 2011-06-25 14:20:54 -06:00
Derek Williams
2abb768e85 formatting fix 2011-06-23 15:06:25 -06:00
Derek Williams
7fb61de729 Fix dependencies after merge 2011-06-23 15:06:16 -06:00
Derek Williams
878b8c147b Merge branch 'master' into wip-derekjw
Conflicts:
	project/build/AkkaProject.scala
2011-06-23 13:31:14 -06:00
Jonas Bonér
8e4bcb304a Moved remoting code into akka-cluster.
Removed akka-remote.

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-06-23 18:15:47 +02:00
Jonas Bonér
56db84f0a1 Uncommented failing leader election tests 2011-06-23 16:02:35 +02:00
Jonas Bonér
38e50b77a5 Removed link to second non-existing chapter in the getting started guide 2011-06-23 14:48:48 +02:00
Jonas Bonér
833238cd44 Added tests for storing, retrieving and removing custom configuration data in cluster storage.
Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-06-22 12:03:58 +02:00
Jonas Bonér
df8c4dac89 Added methods for Cluster.remove and Cluster.release that accepts ActorRef 2011-06-22 11:31:01 +02:00
Jonas Bonér
5d4f8b4bcb Added test scenarios to cluster registry test suite.
Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-06-22 11:04:32 +02:00
Jonas Bonér
a4980446a0 Merge with upstream master 2011-06-22 10:01:31 +02:00
Jonas Bonér
a65a3b1e8e Added multi-jvm test for doing 'store' on one node and 'use' on another. E.g. use of cluster registry.
Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-06-22 10:00:20 +02:00
Jonas Bonér
a58b3814c0 Added multi-jvm test for leader election in cluster
Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-06-22 09:59:32 +02:00
Jonas Bonér
4d31751793 Fixed clustered management of actor serializer.
Various renames and refactorings.
Changed all internal usages of 'actorOf' to 'localActorOf'.

Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-06-22 09:59:00 +02:00
Derek Williams
eab78b383d Add Future.orElse(x) to supply value if future expires 2011-06-20 16:22:46 -06:00
Derek Williams
068e77b74d Silence some more noisy tests 2011-06-20 15:24:39 -06:00
Derek Williams
d1b8b475fa Silence some more noisy tests 2011-06-20 15:11:32 -06:00
Derek Williams
dabf14ef4b Basic scalacheck properties for ByteString 2011-06-19 16:32:21 -06:00
Derek Williams
23dcb5d1fe Merge branch 'master' into wip-derekjw 2011-06-19 14:49:50 -06:00
Roland
1c97275745 Merge branch 'temp' 2011-06-19 22:24:04 +02:00
Roland
8dffee24ea Merge branch 'master' of github.com:jboner/akka 2011-06-19 22:22:32 +02:00
Roland
22c067e239 add TestFSMRef docs 2011-06-19 22:20:45 +02:00
Roland
db2d296b81 ActorRef.start() returns this.type 2011-06-19 22:20:42 +02:00
Roland
7deadceec2 move FSMLogEntry into FSM object 2011-06-19 21:44:50 +02:00
Roland
3d40a0f529 add TestFSMRefSpec and make TestFSMRef better accessible
- add address argument to TestFSMRef factory
- set address of TestKit.testActor to "testActor#" with monotonically
  increasing number #
2011-06-19 21:42:08 +02:00
Roland
b1533cb3d8 add TestFSMRef 2011-06-19 21:25:09 +02:00
Roland
a45267e967 break out LoggingFSM trait and add rolling event log 2011-06-19 21:20:14 +02:00
Roland
39e41c6596 change all actor logging to use Actor, not ActorRef as source instance 2011-06-19 21:07:49 +02:00
Derek Williams
2c11662448 Improved TestEventListener 2011-06-19 12:06:20 -06:00
Derek Williams
b28b9ac4f0 Make it possible to use infinite timeout with Actors 2011-06-19 12:05:27 -06:00