Commit d006b845 authored by Oliver Kuckertz's avatar Oliver Kuckertz

Fix FdObserver::whenUrgentDataAvailable in-band read in edge-triggered mode

parent 7ba69d69
......@@ -511,9 +511,6 @@ TEST(AsyncUnixTest, UrgentObserver) {
observer.whenUrgentDataAvailable().wait(waitScope);
KJ_SYSCALL(recv(clientFd, &c, 1, MSG_OOB));
EXPECT_EQ('o', c);
// Ensure that the in-band byte is still in the queue and makes the socket readable.
observer.whenBecomesReadable().wait(waitScope);
KJ_SYSCALL(recv(clientFd, &c, 1, 0));
EXPECT_EQ('i', c);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment