Michael Schoen
2006-Aug-16 18:17 UTC
Rails AR/Oracle Unit Test: [4776] failed (getting worse)
"bitsweat" has kicked AR/Oracle while it was down... http://dev.rubyonrails.org/changeset/4776 ------------------------------------------------------------------------ r4776 | bitsweat | 2006-08-16 11:10:52 -0700 (Wed, 16 Aug 2006) | 1 line Included associations: go deep. ------------------------------------------------------------------------ U activerecord/test/associations_cascaded_eager_loading_test.rb A activerecord/test/fixtures/vertices.yml A activerecord/test/fixtures/edges.yml A activerecord/test/fixtures/vertex.rb U activerecord/test/fixtures/mixin.rb U activerecord/test/fixtures/db_definitions/schema.rb A activerecord/test/fixtures/edge.rb U activerecord/lib/active_record/associations.rb Updated to revision 4776. 1) Error: test_load_schema(AAACreateTablesTest): ActiveRecord::StatementInvalid: ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:122:in `log'': OCIError: ORA-00972: identifier is too long: CREATE UNIQUE INDEX index_edges_on_source_id_and_sink_id ON edges (source_id, sink_id) ./test/aaa_create_tables_test.rb:18:in `test_load_schema'' ./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/../lib/active_record/migration.rb:274:in `method_missing'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' /usr/pkg/ruby184/lib/ruby/1.8/benchmark.rb:293:in `measure'' ./test/../lib/active_record/migration.rb:258:in `say_with_time'' ./test/../lib/active_record/migration.rb:272:in `method_missing'' (eval):51:in `test_load_schema'' ./test/../lib/active_record/schema.rb:43:in `define'' (eval):1:in `test_load_schema'' ./test/aaa_create_tables_test.rb:18:in `test_load_schema'' 2) 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>. 926 tests, 3296 assertions, 1 failures, 1 errors rake aborted! Command failed with status (1): [/usr/pkg/ruby184/bin/ruby -Ilib:test:test/...] (See full trace by running task with --trace)