Skip to content

Instantly share code, notes, and snippets.

@eostrom
Created August 9, 2009 20:31
Show Gist options
  • Save eostrom/164890 to your computer and use it in GitHub Desktop.
Save eostrom/164890 to your computer and use it in GitHub Desktop.
[556] activerecord (2-3-stable) $ rake test_mysql
rake test_mysql
(in /Users/eostrom/workspace/rails/activerecord)
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -I"lib:test:test/connections/native_mysql" "/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/cases/aaa_create_tables_test.rb" "test/cases/active_schema_test_mysql.rb" "test/cases/adapter_test.rb" "test/cases/aggregations_test.rb" "test/cases/ar_schema_test.rb" "test/cases/associations/belongs_to_associations_test.rb" "test/cases/associations/callbacks_test.rb" "test/cases/associations/cascaded_eager_loading_test.rb" "test/cases/associations/eager_load_includes_full_sti_class_test.rb" "test/cases/associations/eager_load_nested_include_test.rb" "test/cases/associations/eager_singularization_test.rb" "test/cases/associations/eager_test.rb" "test/cases/associations/extension_test.rb" "test/cases/associations/has_and_belongs_to_many_associations_test.rb" "test/cases/associations/has_many_associations_test.rb" "test/cases/associations/has_many_through_associations_test.rb" "test/cases/associations/has_one_associations_test.rb" "test/cases/associations/has_one_through_associations_test.rb" "test/cases/associations/inner_join_association_test.rb" "test/cases/associations/join_model_test.rb" "test/cases/associations_test.rb" "test/cases/attribute_methods_test.rb" "test/cases/autosave_association_test.rb" "test/cases/base_test.rb" "test/cases/batches_test.rb" "test/cases/binary_test.rb" "test/cases/calculations_test.rb" "test/cases/callbacks_observers_test.rb" "test/cases/callbacks_test.rb" "test/cases/class_inheritable_attributes_test.rb" "test/cases/column_alias_test.rb" "test/cases/column_definition_test.rb" "test/cases/connection_pool_test.rb" "test/cases/connection_test_mysql.rb" "test/cases/database_statements_test.rb" "test/cases/date_time_test.rb" "test/cases/defaults_test.rb" "test/cases/deprecated_finder_test.rb" "test/cases/dirty_test.rb" "test/cases/finder_respond_to_test.rb" "test/cases/finder_test.rb" "test/cases/fixtures_test.rb" "test/cases/i18n_test.rb" "test/cases/inheritance_test.rb" "test/cases/invalid_date_test.rb" "test/cases/json_serialization_test.rb" "test/cases/lifecycle_test.rb" "test/cases/locking_test.rb" "test/cases/method_scoping_test.rb" "test/cases/migration_test.rb" "test/cases/mixin_test.rb" "test/cases/modules_test.rb" "test/cases/multiple_db_test.rb" "test/cases/named_scope_test.rb" "test/cases/nested_attributes_test.rb" "test/cases/pk_test.rb" "test/cases/pooled_connections_test.rb" "test/cases/query_cache_test.rb" "test/cases/readonly_test.rb" "test/cases/reflection_test.rb" "test/cases/reload_models_test.rb" "test/cases/reserved_word_test_mysql.rb" "test/cases/sanitize_test.rb" "test/cases/schema_dumper_test.rb" "test/cases/serialization_test.rb" "test/cases/timestamp_test.rb" "test/cases/transactions_test.rb" "test/cases/unconnected_test.rb" "test/cases/validations_i18n_test.rb" "test/cases/validations_test.rb" "test/cases/xml_serialization_test.rb"
Using native MySQL
Loaded suite /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F..............................................................................................................................................................................................F........................................................................................................................................................................................................................................................................................................................................................................
Finished in 42.215682 seconds.
1) Failure:
test_polymorphic_assignment_with_primary_key_updates_foreign_id_field_for_new_and_saved_records(BelongsToAssociationsTest)
[./test/cases/associations/belongs_to_associations_test.rb:415:in `test_polymorphic_assignment_with_primary_key_updates_foreign_id_field_for_new_and_saved_records'
./test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
./test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<nil> expected but was
<"">.
2) Failure:
test_no_automatic_reconnection_after_timeout(MysqlConnectionTest)
[./test/cases/connection_test_mysql.rb:27:in `test_no_automatic_reconnection_after_timeout'
./test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
./test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<false> is not true.
3) Failure:
test_schema_dump_keeps_id_column_when_id_is_false_and_id_column_added(SchemaDumperTest)
[./test/cases/schema_dumper_test.rb:199:in `test_schema_dump_keeps_id_column_when_id_is_false_and_id_column_added'
./test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
./test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
non-primary key id column not preserved.
<" t.string \"id\", :default => \"\", :null => false"> expected to be =~
</t.string[[:space:]]+"id",[[:space:]]+:null => false$/>.
2087 tests, 6734 assertions, 3 failures, 0 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment