Michael Schoen
2006-Aug-15 23:08 UTC
Rails AR/Oracle Unit Test: [4767] failed (getting worse)
"bitsweat" has kicked AR/Oracle while it was down...
http://dev.rubyonrails.org/changeset/4767
------------------------------------------------------------------------
r4767 | bitsweat | 2006-08-15 16:05:01 -0700 (Tue, 15 Aug 2006) | 1 line
Migrations: uniquely name multicolumn indexes so you don''t have to.
------------------------------------------------------------------------
U activerecord/test/migration_test.rb
U
activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
U activerecord/CHANGELOG
Updated to revision 4767.
1) Failure:
test_not_resaved_when_unchanged(HasOneAssociationsTest)
[./test/abstract_unit.rb:44:in `assert_queries''
./test/associations_test.rb:302:in
`test_not_resaved_when_unchanged'']:
0 instead of 1 queries were executed.
<1> expected but was
<0>.
2) Failure:
test_add_index(MigrationTest) [./test/migration_test.rb:60]:
Exception raised:
Class: <ActiveRecord::StatementInvalid>
Message: <"OCIError: ORA-00972: identifier is too long: CREATE INDEX
people_last_name_first_name_index ON people (last_name, first_name)">
---Backtrace---
./test/../lib/active_record/connection_adapters/abstract_adapter.rb:122:in
`log''
./test/../lib/active_record/connection_adapters/oracle_adapter.rb:243:in
`execute''
./test/../lib/active_record/connection_adapters/abstract/schema_statements.rb:197:in
`add_index''
./test/migration_test.rb:60:in `test_add_index''
./test/migration_test.rb:60:in `test_add_index''
---------------
921 tests, 3273 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)