Merge pull request #23887 from akka/wip-22192-RemoteScatterGatherSpec-patriknw
harden RemoteScatterGatherSpec, #22192
This commit is contained in:
commit
2690ce1730
2 changed files with 4 additions and 2 deletions
|
|
@ -25,7 +25,6 @@ class RemoteRoundRobinConfig(artery: Boolean) extends MultiNodeConfig {
|
|||
|
||||
commonConfig(debugConfig(on = false).withFallback(
|
||||
ConfigFactory.parseString(s"""
|
||||
akka.loglevel = DEBUG
|
||||
akka.remote.artery.enabled = $artery
|
||||
""")).withFallback(RemotingMultiNodeSpec.commonConfig))
|
||||
|
||||
|
|
|
|||
|
|
@ -81,6 +81,9 @@ class RemoteScatterGatherSpec(multiNodeConfig: RemoteScatterGatherConfig) extend
|
|||
val connectionCount = 3
|
||||
val iterationCount = 10
|
||||
|
||||
// let them start
|
||||
Thread.sleep(2000)
|
||||
|
||||
for (i ← 0 until iterationCount; k ← 0 until connectionCount) {
|
||||
actor ! "hit"
|
||||
}
|
||||
|
|
@ -104,7 +107,7 @@ class RemoteScatterGatherSpec(multiNodeConfig: RemoteScatterGatherConfig) extend
|
|||
enterBarrier("done")
|
||||
}
|
||||
|
||||
enterBarrier("done")
|
||||
enterBarrier("all-done")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue