mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Expect POLLRDHUP on Fuchsia
PiperOrigin-RevId: 375749377
This commit is contained in:
committed by
gVisor bot
parent
3272400a4f
commit
090ee43a1c
@@ -532,7 +532,7 @@ TEST_P(SocketInetLoopbackTest, TCPInfoState) {
|
||||
int n = poll(&pfd, 1, kTimeout);
|
||||
ASSERT_GE(n, 0) << strerror(errno);
|
||||
ASSERT_EQ(n, 1);
|
||||
if (IsRunningOnGvisor()) {
|
||||
if (IsRunningOnGvisor() && GvisorPlatform() != Platform::kFuchsia) {
|
||||
// TODO(gvisor.dev/issue/6015): Notify POLLRDHUP on incoming FIN.
|
||||
ASSERT_EQ(pfd.revents, POLLIN);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user