Commit graph

10128 commits

Author SHA1 Message Date
Roland
bff03676fe add java testing doc chapter and link to Munish’s blog 2012-06-07 10:50:13 +02:00
Roland
3271fddd92 do not discard system messages silently after stop 2012-06-07 10:49:20 +02:00
Roland
4e9a658609 remove unused _receiveTimeout constructor args (ActorCell and LocalActorRef) 2012-06-07 10:49:13 +02:00
Roland
502bf5f8d5 unbreak config check in RoutedActorRef, which blocked&leaked threads 2012-06-07 10:49:06 +02:00
viktorklang
60c11cab7b Adding missing slash 2012-06-07 00:46:01 +03:00
Viktor Klang
82fbca9241 Clarifying semantics for ActorSystem.registerOnTermination 2012-06-06 16:35:15 +02:00
Viktor Klang
4d3e9f19fe Fixing ScalaDoc messup 2012-06-05 18:19:46 +02:00
patriknw
94864a23b4 Merge pull request #515 from akka/wip-start-cluster-patriknw
Refactor cluster startup in tests
2012-06-05 06:55:21 -07:00
Patrik Nordwall
ac98dddfe8 ScalaDoc of awaitClusterUp 2012-06-05 15:53:30 +02:00
Patrik Nordwall
f02793ebd6 Refactor cluster startup join in tests and fix barrier race
* Refactored common code to MultiNodeClusterSpec.awaitClusterUp
* Fixed some race conditions of barriers
2012-06-05 14:17:07 +02:00
Patrik Nordwall
5ccfb2cfee Remove cluster settings vals 2012-06-05 14:17:07 +02:00
Roland
d56c0b4b34 update ActorPath.png, see #2147 2012-06-05 13:07:01 +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
46c9cf41cd Review cleanup 2012-06-05 11:38:41 +02:00
Björn Antonsson
1dd1d98208 Merge branch 'master' into wip-2175-problem-with-fault-injector-throttling-ban 2012-06-05 11:31:43 +02:00
Björn Antonsson
c6b2572623 changed val to lazy after review 2012-06-05 11:27:37 +02:00
Jonas Bonér
2d2e19578c Merge pull request #512 from akka/wip-2162-membership-change-listener-spec-jboner
Ticket #2162 - Tests for trigging of MemberChangeListener on life-cycle state changes
2012-06-05 00:55:18 -07:00
Roland
0a011ee50e fix a few doubled the’s 2012-06-04 23:35:52 +02:00
Jonas Bonér
4acee03195 Merge branch 'master' into wip-2162-membership-change-listener-spec-jboner
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-04 23:32:27 +02:00
Jonas Bonér
391fed6594 Misc changes, fixes and improvements after review.
- Renamed all 'frequency' to 'interval'
- Split up NodeJoinAndUpSpec and into NodeJoinSpec and NodeUpSpec.
- Split up MembershipChangeListenerJoinAndUpSpec and into MembershipChangeListenerJoinSpec and MembershipChangeListenerUpSpec.
- Added utility method 'startClusterNode()'
- Fixed race in register listener and telling node to leave
- Removed 'after' blocks
- Cleaned up unused code
- Improved comments

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-04 23:21:28 +02:00
Roland
b98fb0e37a clarify deployment using anonymous factories 2012-06-04 23:10:03 +02:00
Roland
14769828d9 Merge branch 'wip-2122-actorsystem-in-test-∂π' 2012-06-04 21:21:36 +02:00
Roland Kuhn
9b88cf75bf Merge pull request #509 from akka/wip-2174-testkit-trait-∂π
offer TestKitBase trait, see #2174
2012-06-04 10:29:35 -07:00
Roland
b840624b78 warn against using TestKitBase trait 2012-06-04 19:28:58 +02:00
viktorklang
2a06744223 Merge pull request #514 from akka/wip-2093-testactorref-receive-w-sender-√
#2093 - Adding support for setting the sender when using TestActorRef.re...
2012-06-04 09:45:16 -07:00
Viktor Klang
54febffb28 #2093 - Adding support for setting the sender when using TestActorRef.receive 2012-06-04 17:07:44 +02:00
Björn Antonsson
9ee971ee79 We need to reregister a client conection when we know the actor system address. see #2175 2012-06-04 16:22:10 +02:00
patriknw
ce332a9f96 Merge pull request #505 from akka/wip-2164-convergence-patriknw
Test gossip convergence, see #2164
2012-06-04 06:16:34 -07:00
patriknw
93afc09a72 Merge pull request #510 from akka/wip-2137-remove-shutdown-patriknw
Fix shutdown/remove race as described by @rkuhn, see #2137
2012-06-04 06:14:22 -07:00
Patrik Nordwall
b1c507f3b9 Shutdown does removeNode, see #2137 2012-06-04 14:56:16 +02:00
Patrik Nordwall
f30a1a0b1f Always removeNode when shutdown, see 2137 2012-06-04 14:29:32 +02:00
Viktor Klang
a5127b12dd Merge branch 'master' into wip-2134-deathwatch2.0-√ 2012-06-04 13:58:09 +02:00
Patrik Nordwall
415366e881 Merge branch 'master' into wip-2137-remove-shutdown-patriknw 2012-06-04 13:52:27 +02:00
Patrik Nordwall
5810f73530 Minor improvement from review feedback, see 2137 2012-06-04 13:51:30 +02:00
Viktor Klang
c990fee724 Switching to the appropriate check for confirmed existence 2012-06-04 13:46:29 +02:00
patriknw
f9a8cde812 Merge pull request #508 from akka/wip-2173-LogRoleReplace-patriknw
Utility to replace jvm and host:port with role in logs, see 2173
2012-06-04 04:43:39 -07:00
Patrik Nordwall
e592cebe20 Add script to run LogRoleReplace, see #2173 2012-06-04 13:35:08 +02:00
Viktor Klang
b45305a61e More formatting 2012-06-04 13:34:30 +02:00
Roland
fd1d0ce121 make cleanUp of systemMessages atomic
- extend systemDrain to take the new contents which shall be switched in
- make NoMessage placeholder which will signal final closing of the
  mailbox
- put that in when cleaning up, and check it when enqueuing
2012-06-04 13:20:53 +02:00
Patrik Nordwall
e4104cfd06 Replace 'after' barrier with explicit barrier inside test method.
* It's no problem using after, but scalatest will output the test method
  as completed (green) before running after, so it looks confusing in the logs
* Using unique barrier names adds extra traceability in case of failures.
2012-06-04 11:58:09 +02:00
Viktor Klang
1821927023 Merge branch 'wip-2134-deathwatch2.0-√' of github.com:akka/akka into wip-2134-deathwatch2.0-√ 2012-06-04 11:48:40 +02:00
Patrik Nordwall
52f122107c Fix shutdown/remove race as described by @rkuhn, see #2137
* Skip nodes removal
* Ignore removed client when enter barrier
* Change order of testConductor.shutdown and testConductor.removeNode
2012-06-04 11:48:03 +02:00
Viktor Klang
2e788c9704 Adding some sanity and some CAS-magic 2012-06-04 11:46:59 +02:00
Roland
df479a0bf0 add back TestProbe.reply, see #2172 2012-06-04 11:29:56 +02:00
Jonas Bonér
20be83d0eb Merge branch 'master' into wip-2162-membership-change-listener-spec-jboner
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-04 10:42:57 +02:00
Jonas Bonér
e7cf92e72a Merge pull request #506 from akka/wip-2161-test-leave-the-cluster-gracefully-jboner
Added implementation of the LEAVE command for a cluster node plus misc tests
2012-06-04 01:39:22 -07:00
Jonas Bonér
8297e0132b Added comment to explain the increase in leader action frequency.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-06-04 10:38:10 +02:00
Viktor Klang
a515377592 Formatting 2012-06-04 10:35:27 +02:00
Jonas Bonér
beac5c5cff Fixed typo in config 2012-06-04 10:12:31 +02:00
Roland
de59444795 offer TestKitBase trait, see #2174 2012-06-04 10:03:41 +02:00