diff options
Diffstat (limited to 'test/syscalls/linux')
-rw-r--r-- | test/syscalls/linux/BUILD | 1 | ||||
-rw-r--r-- | test/syscalls/linux/epoll.cc | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/test/syscalls/linux/BUILD b/test/syscalls/linux/BUILD index e37d0402f..b96005d7d 100644 --- a/test/syscalls/linux/BUILD +++ b/test/syscalls/linux/BUILD @@ -588,7 +588,6 @@ cc_binary( "//test/util:file_descriptor", gtest, "//test/util:posix_error", - "//test/util:socket_util", "//test/util:test_main", "//test/util:test_util", "//test/util:thread_util", diff --git a/test/syscalls/linux/epoll.cc b/test/syscalls/linux/epoll.cc index 600a40ef8..b1760b7d6 100644 --- a/test/syscalls/linux/epoll.cc +++ b/test/syscalls/linux/epoll.cc @@ -498,7 +498,6 @@ TEST(EpollTest, PipeReaderHupAfterWriterClosed) { } TEST(EpollTest, DoubleLayerEpoll) { - DisableSave ds; int pipefds[2]; ASSERT_THAT(pipe(pipefds), SyscallSucceeds()); FileDescriptor rfd(pipefds[0]); @@ -522,10 +521,10 @@ TEST(EpollTest, DoubleLayerEpoll) { }); struct epoll_event ret_events[2]; - ASSERT_THAT(RetryEINTR(epoll_wait)(epfd2.get(), ret_events, 2, 2000), + ASSERT_THAT(RetryEINTR(epoll_wait)(epfd2.get(), ret_events, 2, 5000), SyscallSucceedsWithValue(1)); ASSERT_EQ(ret_events[0].data.fd, epfd1.get()); - ASSERT_THAT(RetryEINTR(epoll_wait)(epfd1.get(), ret_events, 2, 2000), + ASSERT_THAT(RetryEINTR(epoll_wait)(epfd1.get(), ret_events, 2, 5000), SyscallSucceedsWithValue(1)); ASSERT_EQ(ret_events[0].data.fd, rfd.get()); char readBuf[sizeof(data)]; |