akka/akka — pull request #1556 by drewhk (2013-06-21 13:28:08+00:00)
Title: Tweaked AkkaProtocolStressSpec drop policies

Basically the probability of dropping the last batches of messages was higher than I expected, since I forgot that I have set the retry limit to 3 on _both_ systems, and not just one.

Since the expected number of attempts for successful association is ~2.78 this was sometimes triggered on both sides to drop messages too often because of the retry limit of 3 (plus there is a 30% drop probability in both directions already). Now only one of the systems has an aggressive dropping policy, making the test more reliable.

NB: The SystemMessageDelivery* tests are not affected, since they resend messages, while this test just fire-and-forget.