[typo] 'rake test' croaks
Hal Fulton
hal9000 at hypermetrics.com
Sat Jun 3 01:20:37 EDT 2006
Oops, I sent this to Kevin -- meant to send to list.
See below... 408 errors!
Hal
Kevin Ballard wrote:
> On Jun 2, 2006, at 8:55 PM, Hal Fulton wrote:
>
>>
>> Are you saying I should be able to delete that file,
>> update svn, and it should be good?
>
> Exactly.
>
> For future reference, if you see a C as the status (left-hand column)
> during an update, it means you had a conflict. Similarly, you can run
> `svn status` and see that too.
>
> And the reason I knew you had a conflict right away was I saw the
> <<<<<<<<<<<<< in your email. That right there is a conflict indicator
> in a file.
OK, I see. I haven't used svn much. Similar to cvs, of course.
I never noticed a C, but must have had one.
Actually I tried this a few minutes ago... rake test
now blows up on every single test.
204 tests, 408 errors.
I restarted mysql, but same thing.
Yes, I did copy back my saved database.yml.
Numerous repetitions of stuff like (see below).
Sorry, but I'm clueless here.
Hal
[root at www typo]# rake test 2>&1 | more
/usr/local/bin/ruby -Ilib:test
"/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb"
"test/functional/accounts_controller_test.rb"
"test/functional/xml_controller_test.rb" "test/functional/articles_controller_test.rb"
"test/functional/backend_controller_test.rb"
"test/functional/theme_controller_test.rb"
"test/functional/textfilter_controller_test.rb"
"test/functional/redirect_controller_test.rb"
"test/functional/admin/categories_controller_test.rb"
"test/functional/admin/general_controller_test.rb"
"test/functional/admin/users_controller_test.rb"
"test/functional/admin/trackbacks_controller_test.rb"
"test/functional/admin/comments_controller_test.rb"
"test/functional/admin/themes_controller_test.rb"
"test/functional/admin/blacklist_controller_test.rb"
"test/functional/admin/content_controller_test.rb"
"test/functional/admin/resources_controller_test.rb"
"test/functional/admin/pages_controller_test.rb"
"test/functional/admin/textfilters_controller_test.rb"
"test/functional/admin/article_preview_test.rb"
(in /root/typo)
Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader
Started
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
Finished in 0.779118 seconds.
1) Error:
test_auth_bob(AccountsControllerTest):
Mysql::Error: #28000Access denied for user 'root'@'localhost' (using password: YES)
/root/typo/config/../vendor/rails/activerecord/lib/active_record/vendor/mysql.rb:508:in
`read'
/root/typo/config/../vendor/rails/activerecord/lib/active_record/vendor/mysql.rb:150:in
`real_connect'
/root/typo/config/../vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:331:in
`connect'
/root/typo/config/../vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:88:in
`initialize'
/root/typo/config/../vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:37:in
`new'
/root/typo/config/../vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:37:in
`mysql_connection'
/root/typo/config/../vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:251:in
`send'
/root/typo/config/../vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:251:in
`connection_without_query_cache='
/root/typo/config/../vendor/rails/activerecord/lib/active_record/query_cache.rb:54:in
`connection='
/root/typo/config/../vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:220:in
`retrieve_connection'
/root/typo/config/../vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:78:in
`connection'
/root/typo/config/../vendor/rails/activerecord/lib/active_record/fixtures.rb:247:in
`create_fixtures'
/root/typo/config/../vendor/rails/activerecord/lib/active_record/fixtures.rb:565:in
`load_fixtures'
/root/typo/config/../vendor/rails/activerecord/lib/active_record/fixtures.rb:512:in
`setup_with_fixtures'
/root/typo/config/../vendor/rails/activerecord/lib/active_record/fixtures.rb:547:in
`setup'
/root/typo/config/../vendor/rails/activerecord/lib/active_record/fixtures.rb:546:in
`setup'
2) Error:
test_auth_bob(AccountsControllerTest):
Mysql::Error: #28000Access denied for user 'root'@'localhost' (using password: YES)
/root/typo/config/../vendor/rails/activerecord/lib/active_record/vendor/mysql.rb:508:in
`read'
[and so on for hundreds of lines]
More information about the Typo-list
mailing list