test/lib_read_write: test workarounds for TCP in FreeBSD 9.0
commite26358413c9d87e1ce8f6cda5cf0b8dd53979ed2
authorEric Wong <normalperson@yhbt.net>
Tue, 20 Mar 2012 22:00:47 +0000 (20 22:00 +0000)
committerEric Wong <normalperson@yhbt.net>
Fri, 23 Mar 2012 23:48:37 +0000 (23 23:48 +0000)
tree7fa033b6f91868eb98875fe85046e7017397e910
parent2cab4f2fa642241dbcaf8881d39bd275a59dc67b
test/lib_read_write: test workarounds for TCP in FreeBSD 9.0

Under load, TCP sockets may not register as readable right away
after the writer finishes.  This can be expected for
implementations where loopback TCP is a closer simulation of
non-local TCP traffic.

These test failures were noticed under FreeBSD 9.0.
test/lib_read_write.rb
test/test_tcp_connect.rb