Increase within timeouts in cluster sample tests, see #2699

This commit is contained in:
Patrik Nordwall 2012-11-15 08:28:35 +01:00
parent b1d96c8794
commit 524bb65e0f
6 changed files with 10 additions and 10 deletions

View file

@ -76,7 +76,7 @@ abstract class StatsSampleSpec extends MultiNodeSpec(StatsSampleSpecConfig)
"The stats sample" must {
//#startup-cluster
"illustrate how to startup cluster" in within(10 seconds) {
"illustrate how to startup cluster" in within(15 seconds) {
Cluster(system).subscribe(testActor, classOf[MemberUp])
expectMsgClass(classOf[CurrentClusterState])
@ -106,7 +106,7 @@ abstract class StatsSampleSpec extends MultiNodeSpec(StatsSampleSpecConfig)
//#test-statsService
"show usage of the statsService from one node" in within(5 seconds) {
"show usage of the statsService from one node" in within(15 seconds) {
runOn(second) {
val service = system.actorFor(node(third) / "user" / "statsService")
service ! StatsJob("this is the text that will be analyzed")
@ -120,7 +120,7 @@ abstract class StatsSampleSpec extends MultiNodeSpec(StatsSampleSpecConfig)
}
//#test-statsService
"show usage of the statsService from all nodes" in within(5 seconds) {
"show usage of the statsService from all nodes" in within(15 seconds) {
val service = system.actorFor(node(third) / "user" / "statsService")
service ! StatsJob("this is the text that will be analyzed")
val meanWordLength = expectMsgPF() {