Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

test_sequence(TestMetadata) get a failure #18

Closed
yahonda opened this Issue · 1 comment

2 participants

@yahonda

test_sequence(TestMetadata) get a failure.

$ make check
ruby -w setup.rb setup
setup.rb:278: warning: assigned but unused variable - vname
setup.rb:278: warning: assigned but unused variable - desc
setup.rb:278: warning: assigned but unused variable - default2
setup.rb:109: Use RbConfig instead of obsolete and deprecated Config.
---> lib
---> lib/oci8
<--- lib/oci8
---> lib/dbd
<--- lib/dbd
<--- lib
---> ext
---> ext/oci8
make
make[1]: Entering directory `/home/yahonda/git/ruby-oci8/ext/oci8'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/yahonda/git/ruby-oci8/ext/oci8'
<--- ext/oci8
<--- ext
ruby -w setup.rb test
setup.rb:278: warning: assigned but unused variable - vname
setup.rb:278: warning: assigned but unused variable - desc
setup.rb:278: warning: assigned but unused variable - default2
setup.rb:109: Use RbConfig instead of obsolete and deprecated Config.
mkdir -p ./test
/home/yahonda/.rvm/rubies/ruby-1.9.3-p194/bin/ruby -w -I/home/yahonda/git/ruby-oci8/ext/oci8 -I/home/yahonda/git/ruby-oci8/lib -I/home/yahonda/git/ruby-oci8/support -I/home/yahonda/git/ruby-oci8/test /home/yahonda/git/ruby-oci8/test/test_all.rb
/home/yahonda/git/ruby-oci8/lib/oci8/object.rb:397: warning: assigned but unused variable - args
lib/rational.rb is deprecated
/home/yahonda/git/ruby-oci8/test/test_bind_time.rb:86: warning: assigned but unused variable - day_in
/home/yahonda/git/ruby-oci8/test/test_bind_time.rb:87: warning: assigned but unused variable - time_out
/home/yahonda/git/ruby-oci8/test/test_oci8.rb:220: warning: assigned but unused variable - dttm
/home/yahonda/git/ruby-oci8/test/test_metadata.rb:897: warning: assigned but unused variable - descs
/home/yahonda/git/ruby-oci8/test/test_metadata.rb:997: warning: assigned but unused variable - descs
/home/yahonda/git/ruby-oci8/test/test_object.rb:143: warning: assigned but unused variable - ival
Run options:

# Running tests:

.............Skip test_bind_string_as_nchar. It needs Oracle server whose database chracter set is incompatible with unicode.
....................................................unsupported return type (MDSYS.SDO_GEOMETRY.GET_WKB)
unsupported return type (MDSYS.SDO_GEOMETRY.GET_WKT)
unsupported return type (MDSYS.SDO_GEOMETRY.ST_COORDDIM)
.....F......................F....................................................................

Finished tests in 43.068593s, 3.7614 tests/s, 217.7225 assertions/s.

  1) Failure:
test_sequence(TestMetadata) [/home/yahonda/git/ruby-oci8/test/test_metadata.rb:1469]:
min.
<-99999999999999999999999999> expected but was
<-999999999999999999999999999>.

... snip ...
162 tests, 9377 assertions, 2 failures, 0 errors, 0 skips
$

Environment

  • ruby ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
  • Oracle Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production on Linux x64(CentOS 6.3)
@kubo kubo closed this issue from a commit
@kubo fix #19
Fix #18 a sequence test failure on Oracle 11gR2.
919793e
@kubo kubo closed this in 919793e
@yahonda

This fix works in my environment. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.