Revert "test: fix tcp_oob occassionally timing out"
This reverts commit 3346082132.
See https://github.com/libuv/libuv/issues/258
This commit is contained in:
parent
3346082132
commit
3e405d90d1
@ -84,14 +84,14 @@ static void connection_cb(uv_stream_t* handle, int status) {
|
||||
* triggering `kevent()` for the first one
|
||||
*/
|
||||
do {
|
||||
r = send(fd, "x", 1, MSG_OOB);
|
||||
r = send(fd, "hello", 5, MSG_OOB);
|
||||
} while (r < 0 && errno == EINTR);
|
||||
ASSERT(1 == r);
|
||||
ASSERT(5 == r);
|
||||
|
||||
do {
|
||||
r = send(fd, "x", 1, MSG_OOB);
|
||||
r = send(fd, "hello", 5, MSG_OOB);
|
||||
} while (r < 0 && errno == EINTR);
|
||||
ASSERT(1 == r);
|
||||
ASSERT(5 == r);
|
||||
|
||||
ASSERT(0 == uv_stream_set_blocking((uv_stream_t*) &client_handle, 0));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user