Expect POLLRDHUP on Fuchsia

PiperOrigin-RevId: 375749377
This commit is contained in:
Tamir Duberstein
2021-05-25 11:14:23 -07:00
committed by gVisor bot
parent 3272400a4f
commit 090ee43a1c
+1 -1
View File
@@ -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 {