From: Eric Wong Date: 2017-10-18T20:43:37+00:00 Subject: [ruby-core:83350] Re: [Ruby trunk Bug#14013] [PATCH] Webrick 60172 fix Greg.mpls@gmail.com wrote: > Eric wrote: > > Also, does test/openssl/test_pair.rb work for you? Oops, I mean how accept_nonblock worked in that test. In other words, can you try this to dump all the outputs? diff --git a/test/openssl/test_pair.rb b/test/openssl/test_pair.rb index 55b62321b8..0168164810 100644 --- a/test/openssl/test_pair.rb +++ b/test/openssl/test_pair.rb @@ -413,10 +413,13 @@ def test_connect_accept_nonblock_no_exception rets end + rets = [] until th.join(0.01) accepted = s2.accept_nonblock(exception: false) assert_include([s2, :wait_readable, :wait_writable ], accepted) + rets << accepted end + warn rets.inspect rets = th.value assert_instance_of Array, rets Unsubscribe: