Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
d3784575
Commit
d3784575
authored
Oct 07, 2016
by
Kenton Varda
Committed by
GitHub
Oct 07, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #376 from dwrensha/disable-urgent-observer
Disable UrgentObserver test on macOS.
parents
634c0401
9591f2f3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
async-unix-test.c++
c++/src/kj/async-unix-test.c++
+3
-0
async-unix.h
c++/src/kj/async-unix.h
+3
-0
No files found.
c++/src/kj/async-unix-test.c++
View file @
d3784575
...
...
@@ -455,6 +455,8 @@ TEST(AsyncUnixTest, WriteObserver) {
EXPECT_TRUE
(
writable
);
}
#if !__APPLE__
// Disabled on macOS due to https://github.com/sandstorm-io/capnproto/issues/374.
TEST
(
AsyncUnixTest
,
UrgentObserver
)
{
// Verify that FdObserver correctly detects availability of out-of-band data.
// Availability of out-of-band data is implementation-specific.
...
...
@@ -519,6 +521,7 @@ TEST(AsyncUnixTest, UrgentObserver) {
KJ_SYSCALL
(
send
(
clientFd
,
&
c
,
1
,
0
));
KJ_SYSCALL
(
shutdown
(
clientFd
,
SHUT_RDWR
));
}
#endif
TEST
(
AsyncUnixTest
,
SteadyTimers
)
{
captureSignals
();
...
...
c++/src/kj/async-unix.h
View file @
d3784575
...
...
@@ -237,6 +237,9 @@ public:
//
// It is an error to call `whenUrgentDataAvailable()` again when the promise returned previously
// has not yet resolved. If you do this, the previous promise may throw an exception.
//
// WARNING: This has some known weird behavior on macOS. See
// https://github.com/sandstorm-io/capnproto/issues/374.
private
:
UnixEventPort
&
eventPort
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment