Closed yahonda closed 6 years ago
$ make check ... snip ... Traceback (most recent call last): 3: from /home/yahonda/git/ruby-oci8/test/test_break.rb:42:in `block in do_test_ocibreak' 2: from /home/yahonda/git/ruby-oci8/test/test_break.rb:46:in `rescue in block in do_test_ocibreak' 1: from /home/yahonda/.rbenv/versions/2.5.0-rc1/lib/ruby/gems/2.5.0/gems/minitest-5.10.3/lib/minitest/assertions.rb:174:in `assert_equal' /home/yahonda/.rbenv/versions/2.5.0-rc1/lib/ruby/gems/2.5.0/gems/minitest-5.10.3/lib/minitest/assertions.rb:139:in `assert': OCIBREAK. (Minitest::Assertion) ... snip ...
report_on_exception
false
Refer https://www.ruby-lang.org/en/news/2016/11/09/ruby-2-4-0-preview3-released/
true
This pull request suppresses expected exceptions by setting report_on_exception = false it also supports Ruby 2.3 which does not havereport_on_exception.
Thank you! I'll release ruby-oci8 2.2.5.1 tomorrow to make binary gems which support ruby 2.5.0 on Windows x64 and x86.
Good news. Thank you.
report_on_exception
to control if it reports exceptions in thread, this default value has beenfalse
in Ruby 2.4.Refer https://www.ruby-lang.org/en/news/2016/11/09/ruby-2-4-0-preview3-released/
report_on_exception
default value totrue
since this commit https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?revision=61183&view=revisionThis pull request suppresses expected exceptions by setting
report_on_exception
=false
it also supports Ruby 2.3 which does not havereport_on_exception
.