Masafumi Yokoyama
null+****@clear*****
Tue Jun 2 18:31:34 JST 2015
Masafumi Yokoyama 2015-06-02 18:31:34 +0900 (Tue, 02 Jun 2015) New Revision: 07bccb07159690f4023d3aaaebc01628132c0e26 https://github.com/ranguba/rroonga/commit/07bccb07159690f4023d3aaaebc01628132c0e26 Message: test: omit a test on Groonga 5.0.4 This test is failing on Groonga 5.0.4: ========================================================================================================= Failure: test_new(DatabaseTest) /home/myokoym/work/groonga/rroonga/test/test-database.rb:73:in `test_new' 70: end 71: 72: def test_new => 73: assert_raise(Groonga::NoSuchFileOrDirectory) do 74: new_context = Groonga::Context.new 75: Groonga::Database.new(@database_path.to_s, :context => new_context) 76: end <Groonga::NoSuchFileOrDirectory> expected but was <Groonga::InvalidArgument(<invalid argument: [db][open] invalid keys table's type: 0: #<Groonga::Database> db.c:272: grn_db_open()>)> diff: ? Groonga::N oSuchFi leO r Dir ectory ? InvalidArgument(<invalid argument: [db][ pen] nvalid keys tab 's type: 0: #<G oonga:: atabas > + db.c:272: grn_db_open()>) ========================================================================================================= This is a Groonga's bug. The bug is fixed in Groonga at master. TODO: remove the line when Groonga 5.0.5 released. Modified files: test/test-database.rb Modified: test/test-database.rb (+2 -0) =================================================================== --- test/test-database.rb 2015-06-02 17:59:41 +0900 (0ad672c) +++ test/test-database.rb 2015-06-02 18:31:34 +0900 (57680f0) @@ -70,6 +70,8 @@ class DatabaseTest < Test::Unit::TestCase end def test_new + # TODO: remove the line when Groonga 5.0.5 released. + omit("This test is failing on Groonga 5.0.4.") if Groonga.version == "5.0.4" assert_raise(Groonga::NoSuchFileOrDirectory) do new_context = Groonga::Context.new Groonga::Database.new(@database_path.to_s, :context => new_context) -------------- next part -------------- HTML����������������������������...Download