test/lib_read_write: increase test reliability
commitce62ddbef053ad31af2f3ec6fcb7d2488859383d
authorEric Wong <normalperson@yhbt.net>
Thu, 22 Mar 2012 06:18:41 +0000 (22 06:18 +0000)
committerEric Wong <normalperson@yhbt.net>
Thu, 22 Mar 2012 06:18:41 +0000 (22 06:18 +0000)
treefafb090264772ffcd43b88774aad22fbf5c2b379
parent74b9f78e11b915439555290dc3bdd4331303561c
test/lib_read_write: increase test reliability

IO#readpartial may not drain the socket buffers enough for
kgio_write to succeed on some platforms.  So use IO#read for
read-in-full behavior.
test/lib_read_write.rb