diff options
author | emboss <emboss@ruby-lang.org> | 2011-09-23 03:14:24 +0000 |
---|---|---|
committer | emboss <emboss@ruby-lang.org> | 2011-09-23 03:14:24 +0000 |
commit | 4405486c9fe28a38ff7d2baea28ac416f90b4f96 (patch) | |
tree | 873f9ac8778178d9c92f8d7299935a509f62bf0f /test | |
parent | 999b9ceae0e06e025ab937931dd4d772f367e35f (diff) | |
download | ruby-openssl-history-4405486c9fe28a38ff7d2baea28ac416f90b4f96.tar.gz |
* test/openssl/test_ssl_session.rb: ensure server calls callbacks in
test_ctx_server_session_cb. Thanks to Eric Wong for the patch.
[Bug #5336] [ruby-core:39619]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/test_ssl_session.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_ssl_session.rb b/test/test_ssl_session.rb index b975c48..28d40dd 100644 --- a/test/test_ssl_session.rb +++ b/test/test_ssl_session.rb @@ -316,6 +316,7 @@ end ssl.connect last_client_session = ssl.session ssl.close + Thread.pass # try to ensure server calls callbacks assert(called.delete(:new)) assert(called.delete(:remove)) end |