mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
64b7b548e0
commit
e3af0655e2
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue