mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Remove obsolete TODO. This is now fixed.
PiperOrigin-RevId: 279835100
This commit is contained in:
committed by
gVisor bot
parent
e09e7bf72f
commit
2b0e4dc6aa
@@ -425,6 +425,11 @@ TEST_P(TcpSocketTest, PollWithFullBufferBlocks) {
|
||||
}
|
||||
// The last error should have been EWOULDBLOCK.
|
||||
ASSERT_EQ(errno, EWOULDBLOCK);
|
||||
|
||||
// Now polling on the FD with a timeout should return 0 corresponding to no
|
||||
// FDs ready.
|
||||
struct pollfd poll_fd = {s_, POLLOUT, 0};
|
||||
EXPECT_THAT(RetryEINTR(poll)(&poll_fd, 1, 10), SyscallSucceedsWithValue(0));
|
||||
}
|
||||
|
||||
TEST_P(TcpSocketTest, MsgTrunc) {
|
||||
|
||||
Reference in New Issue
Block a user