From: Remi Gacogne Date: Tue, 16 Jul 2019 12:05:12 +0000 (+0200) Subject: Don't fail the test right away if we don't have the right number of FDs ready X-Git-Tag: dnsdist-1.4.0-rc1~41^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b5fa1e1056b10244793871b866abd1c0a1af993;p=pdns Don't fail the test right away if we don't have the right number of FDs ready This way we can at least check that the callbacks are called later. Also, since it looks like the read pipe is always reported as ready, let's try to write first to see if it blocks. --- diff --git a/pdns/test-mplexer.cc b/pdns/test-mplexer.cc index b35c54d18..5a3269f55 100644 --- a/pdns/test-mplexer.cc +++ b/pdns/test-mplexer.cc @@ -130,22 +130,22 @@ BOOST_AUTO_TEST_CASE(test_MPlexer) { cerr<<"Watching "<getWatchedFDCount(false)<<" FDs for read and "<getWatchedFDCount(true)<<" for write"<