Michael Schoen
2006-Jul-06 06:45 UTC
Rails AR/Oracle Unit Test: [4552] failed (getting worse)
"david" has kicked AR/Oracle while it was down... http://dev.rubyonrails.org/changeset/4552 ------------------------------------------------------------------------ r4552 | david | 2006-07-04 19:54:19 -0700 (Tue, 04 Jul 2006) | 1 line Fixed a few Oracle issues: Allows Oracle''s odd date handling to still work consistently within #to_xml, Passes test that hardcode insert statement by dropping the :id column, Updated RUNNING_UNIT_TESTS with Oracle instructions, Corrects method signature for #exec #5294 [schoenm@earthlink.net] ------------------------------------------------------------------------ U activerecord/test/base_test.rb U activerecord/test/migration_test.rb U activerecord/RUNNING_UNIT_TESTS U activerecord/lib/active_record/connection_adapters/oracle_adapter.rb U activerecord/lib/active_record/base.rb U activerecord/CHANGELOG Updated to revision 4552. 1) Failure: test_add_column(ActiveSchemaTest) [./test/active_schema_mysql_test.rb:20]: <"ALTER TABLE people ADD `last_name` varchar(255)"> expected but was <true>. 2) Failure: test_add_column_with_limit(ActiveSchemaTest) [./test/active_schema_mysql_test.rb:24]: <"ALTER TABLE `people` ADD key varchar(32)"> expected but was <true>. 3) Failure: test_drop_table(ActiveSchemaTest) [./test/active_schema_mysql_test.rb:16]: <"DROP TABLE people"> expected but was <true>. 4) Failure: test_equality_of_new_records(BasicsTest) [./test/base_test.rb:593]: <#<Topic:0x45e1db24 @attributes {"author_name"=>nil, "title"=>nil, "type"=>nil, "approved"=>true, "replies_count"=>0, "bonus_time"=>nil, "content"=>nil, "written_on"=>nil, "author_email_address"=>nil, "parent_id"=>nil, "last_read"=>nil}, @new_record=true>> expected to be != to <#<Topic:0x45e1dac0 @attributes {"author_name"=>nil, "title"=>nil, "type"=>nil, "approved"=>true, "replies_count"=>0, "bonus_time"=>nil, "content"=>nil, "written_on"=>nil, "author_email_address"=>nil, "parent_id"=>nil, "last_read"=>nil}, @new_record=true>>. 5) Error: test_count_eager_with_has_many_and_limit_ond_high_offset(EagerAssociationTest): ActiveRecord::StatementInvalid: OCIError: ORA-00942: table or view does not exist: DELETE FROM people ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:120:in `log'' ./test/../lib/active_record/connection_adapters/oracle_adapter.rb:277:in `delete'' ./test/../lib/active_record/fixtures.rb:283:in `delete_existing_fixtures'' ./test/../lib/active_record/fixtures.rb:256:in `create_fixtures'' ./test/../lib/active_record/fixtures.rb:256:in `create_fixtures'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:51:in `transaction'' ./test/../lib/active_record/fixtures.rb:255:in `create_fixtures'' ./test/../lib/active_record/base.rb:826:in `silence'' ./test/../lib/active_record/fixtures.rb:248:in `create_fixtures'' ./test/../lib/active_record/fixtures.rb:576:in `load_fixtures'' ./test/../lib/active_record/fixtures.rb:521:in `setup'' 6) Error: test_eager_association_loading_with_belongs_to(EagerAssociationTest): ActiveRecord::StatementInvalid: OCIError: ORA-00942: table or view does not exist: DELETE FROM people ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:120:in `log'' ./test/../lib/active_record/connection_adapters/oracle_adapter.rb:277:in `delete'' ./test/../lib/active_record/fixtures.rb:283:in `delete_existing_fixtures'' ./test/../lib/active_record/fixtures.rb:256:in `create_fixtures'' ./test/../lib/active_record/fixtures.rb:256:in `create_fixtures'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:51:in `transaction'' ./test/../lib/active_record/fixtures.rb:255:in `create_fixtures'' ./test/../lib/active_record/base.rb:826:in `silence'' ./test/../lib/active_record/fixtures.rb:248:in `create_fixtures'' ./test/../lib/active_record/fixtures.rb:576:in `load_fixtures'' ./test/../lib/active_record/fixtures.rb:521:in `setup'' 7) Error: test_eager_association_loading_with_belongs_to_and_limit(EagerAssociationTest): ActiveRecord::StatementInvalid: OCIError: ORA-00942: table or view does not exist: DELETE FROM people ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:120:in `log'' ./test/../lib/active_record/connection_adapters/oracle_adapter.rb:277:in `delete'' ./test/../lib/active_record/fixtures.rb:283:in `delete_existing_fixtures'' ./test/../lib/active_record/fixtures.rb:256:in `create_fixtures'' ./test/../lib/active_record/fixtures.rb:256:in `create_fixtures'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:51:in `transaction'' ./test/../lib/active_record/fixtures.rb:255:in `create_fixtures'' ./test/../lib/active_record/base.rb:826:in `silence'' ./test/../lib/active_record/fixtures.rb:248:in `create_fixtures'' ./test/../lib/active_record/fixtures.rb:576:in `load_fixtures'' ./test/../lib/active_record/fixtures.rb:521:in `setup'' 8) Error: test_eager_association_loading_with_belongs_to_and_limit_and_conditions(EagerAssociationTest): ActiveRecord::StatementInvalid: OCIError: ORA-00942: table or view does not exist: DELETE FROM people ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:120:in `log'' ./test/../lib/active_record/connection_adapters/oracle_adapter.rb:277:in `delete'' ./test/../lib/active_record/fixtures.rb:283:in `delete_existing_fixtures'' ./test/../lib/active_record/fixtures.rb:256:in `create_fixtures'' ./test/../lib/active_record/fixtures.rb:256:in `create_fixtures'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:51:in `transaction'' ./test/../lib/active_record/fixtures.rb:255:in `create_fixtures'' ./test/../lib/active_record/base.rb:826:in `silence''