ezmq icon indicating copy to clipboard operation
ezmq copied to clipboard

randomize test cases where multiple socket connections are involved

Open RoadRunnr opened this issue 11 years ago • 2 comments
trafficstars

The test cases always processed the recv statemtn in the same order as the original outgoing message and used the same message for all clients. This had the potential to miss problems where message where returned to the wrong client. It now send a diffent message to each peer and checks that it did recieve the correct message back.

RoadRunnr avatar Oct 28 '14 14:10 RoadRunnr

Travis failed, shall I merge this anyhow?

hintjens avatar Oct 28 '14 18:10 hintjens

I've used a function in the test suite that is not available on Erlang R15. The test suite update is not critical, so let's no merge it yet. I'll update the pull request tomorrow.

RoadRunnr avatar Oct 28 '14 18:10 RoadRunnr