haskell-distributed / network-transport-tcp

TCP Realisation of Network.Transport
http://haskell-distributed.github.com
BSD 3-Clause "New" or "Revised" License
30 stars 27 forks source link

Fix reconnect test. #14

Closed qnikst closed 9 years ago

qnikst commented 9 years ago

Reconnect test depended on arbitrary timeout, and in many cases connection was accepted despite socket close.

qnikst commented 9 years ago

as discussed with @dcoutts , original test was incorrect, new test is correct but testing another execution path and we need both of them, so it's needed to fix test that was before, and add this one.