Merge pull request #1556 from drewhk/wip-tweak-apt-stresstest-drewhk
Tweaked AkkaProtocolStressSpec drop policies
This commit is contained in:
commit
4c15cd3f9a
1 changed files with 5 additions and 1 deletions
|
|
@ -68,7 +68,11 @@ object AkkaProtocolStressTest {
|
|||
|
||||
class AkkaProtocolStressTest extends AkkaSpec(configA) with ImplicitSender with DefaultTimeout {
|
||||
|
||||
val systemB = ActorSystem("systemB", system.settings.config)
|
||||
val systemB = ActorSystem(
|
||||
"systemB",
|
||||
// Retry limit for system B should be high enough that it does not trigger during this test. Otherwise
|
||||
// too much messages can be dropped causing the test to fail sporadically.
|
||||
ConfigFactory.parseString("akka.remote.maximum-retries-in-window = 20").withFallback(system.settings.config))
|
||||
val remote = systemB.actorOf(Props(new Actor {
|
||||
def receive = {
|
||||
case seq: Int ⇒ sender ! seq
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue