-
Notifications
You must be signed in to change notification settings - Fork 560
Handle EPOLLHUP in EpollSystem
#4422
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@armanbilge can you please Review this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Unfortunately the test you added is failing currently:
[error] ! handle EPOLLHUP events
[error] java.io.IOException: Bad file descriptor (null:0)
[error] apply @ org.specs2.specification.core.Execution$.withEnvAsync$$anonfun$1(Unknown Source)
|
@armanbilge I was getting the Bad file descriptor error because i was registering the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The updated test looks good! Just a few suggestions to tidy up the implementation.
tests/native/src/test/scala/cats/effect/FileDescriptorPollerSpec.scala
Outdated
Show resolved
Hide resolved
tests/native/src/test/scala/cats/effect/FileDescriptorPollerSpec.scala
Outdated
Show resolved
Hide resolved
tests/native/src/test/scala/cats/effect/FileDescriptorPollerSpec.scala
Outdated
Show resolved
Hide resolved
tests/native/src/test/scala/cats/effect/FileDescriptorPollerSpec.scala
Outdated
Show resolved
Hide resolved
tests/native/src/test/scala/cats/effect/FileDescriptorPollerSpec.scala
Outdated
Show resolved
Hide resolved
EPOLLHUP in EpollSystem
No description provided.