Michael Schoen
2007-Mar-11 12:35 UTC
Rails AR/Oracle Unit Test: [6374] failed (getting worse)
"bitsweat" has kicked AR/Oracle while it was down... http://dev.rubyonrails.org/changeset/6374 ------------------------------------------------------------------------ r6374 | bitsweat | 2007-03-11 05:29:20 -0700 (Sun, 11 Mar 2007) | 1 line Give time_ago_in_words test some DST slop. ------------------------------------------------------------------------ U actionpack/test/template/date_helper_test.rb Updated to revision 6374. 1) Failure: test_native_types(MigrationTest) [./test/migration_test.rb:307:in `test_native_types'' /usr/pkg/ruby184/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'']: <Rational(-7, 24)> expected but was <0>. 2) Failure: test_update_counters_should_quote_pkey_and_quote_counter_columns(PrimaryKeysTest) [./test/pk_test.rb:87:in `test_update_counters_should_quote_pkey_and_quote_counter_columns'' /usr/pkg/ruby184/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'']: Exception raised: Class: <ActiveRecord::StatementInvalid> Message: <"OCIError: ORA-00904: \"FLEACOUNT\": invalid identifier: UPDATE mixed_case_monkeys SET fleaCount = fleaCount + 99 WHERE (\"monkeyID\" = 1) "> ---Backtrace--- ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:139:in `log'' ./test/../lib/active_record/connection_adapters/oracle_adapter.rb:222:in `execute_without_counting'' ./test/abstract_unit.rb:73:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:42:in `update'' ./test/../lib/active_record/base.rb:500:in `update_all'' ./test/../lib/active_record/base.rb:542:in `update_counters_without_lock'' ./test/../lib/active_record/locking/optimistic.rb:122:in `update_counters'' ./test/pk_test.rb:87:in `test_update_counters_should_quote_pkey_and_quote_counter_columns'' ./test/pk_test.rb:87:in `test_update_counters_should_quote_pkey_and_quote_counter_columns'' /usr/pkg/ruby184/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run'' --------------- 1060 tests, 4075 assertions, 2 failures, 0 errors rake aborted! Command failed with status (1): [/usr/pkg/ruby184/bin/ruby -Ilib:test:test/...] (See full trace by running task with --trace) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---