akka/akka — pull request #2053 by drewhk (2014-03-03 14:12:33+00:00)
Title: =rem #3902: Reduce disassociate errors in remote stress-test

The drop probability influences how often the gremlin generates transport-level connection failures:
- 1-(1-0.3)*(1-0.3) = 0.51 meaning at least every second attempt will fail

And on top of that it still have the probability of 0.3 to drop the akka-protocol level messages in both directions (the above formula is for the lower layer attempt failures). Since this test (unlike the system message tests) does not have redelivery capabilities, this can lead to a long series of failed association attempts causing a long burst of loss. The timeout can be reproduced by increasing the drop probability and I have seen close-to-fail scenarios with the original settings as well.

I reduced the dropping probabilities for now.