https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112012-11-19T13:04:08ZRuby Issue Tracking SystemRuby master - Bug #7398: Modify TestSSL#test_read_and_write to handle partial sysreadshttps://bugs.ruby-lang.org/issues/7398?journal_id=330832012-11-19T13:04:08Zzzak (zzak _)
<ul></ul><p>=begin<br>
Description update:</p>
<p>((<em>SSLSocket#sysread can return fewer bytes than you request. This test does client reads and writes and server reads and writes concurrently, which means on a parallel-threaded implementation like JRuby there's a chance the client side will see partial data come from sysread.</em>))</p>
<p>((<em>My change here ensures that the sysread has read everything written before doing comparisons, allowing for partial sysread results.</em>))<br>
=end</p> Ruby master - Bug #7398: Modify TestSSL#test_read_and_write to handle partial sysreadshttps://bugs.ruby-lang.org/issues/7398?journal_id=349482012-12-21T22:21:02Zusa (Usaku NAKAMURA)usa@garbagecollect.jp
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Assigned</i></li></ul> Ruby master - Bug #7398: Modify TestSSL#test_read_and_write to handle partial sysreadshttps://bugs.ruby-lang.org/issues/7398?journal_id=365442013-02-19T00:32:07Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul><li><strong>Target version</strong> changed from <i>2.0.0</i> to <i>2.6</i></li></ul><p>Just an issue of test.</p>
<p>--<br>
Yusuke Endoh <a href="mailto:mame@tsg.ne.jp" class="email">mame@tsg.ne.jp</a></p> Ruby master - Bug #7398: Modify TestSSL#test_read_and_write to handle partial sysreadshttps://bugs.ruby-lang.org/issues/7398?journal_id=469082014-05-27T10:03:16Zhsbt (Hiroshi SHIBATA)hsbt@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset r46164.</p>
<hr>
<ul>
<li>test/openssl/test_pair.rb: Modify TestSSL#test_read_and_write<br>
to handle partial sysreads. [Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Modify TestSSL#test_read_and_write to handle partial sysreads (Closed)" href="https://bugs.ruby-lang.org/issues/7398">#7398</a>]<a href="/issues/7398">[ruby-core:49563]</a></li>
<li>test/openssl/test_ssl.rb: ditto.</li>
</ul>