| Pushes messages down the channel as fast as possible. Sometimes this
manages to bring the channel and the Router into deadlock. On the
machine I run it usually happens after 700 - 1000 messages and I
suspect that this number it is related to the socket buffer size.
(the comments are written when I didn't solve the bug yet).
The number of messages sent can be controlled with msgCount.
The time (in ms) the main threads wait for the all messages to come can
be controlled with mainTimeout. If this time passes and the test
doesn't see all the messages, it declares itself failed.
|