Michael Schoen
2007-Jan-12 21:59 UTC
Rails AR/Oracle Unit Test: [5912] failed (but getting better)
"rick" has given AR/Oracle some love, but it''s still unhappy... http://dev.rubyonrails.org/changeset/5912 ------------------------------------------------------------------------ r5912 | rick | 2007-01-12 12:54:04 -0800 (Fri, 12 Jan 2007) | 2 lines Recognize the .txt extension as Mime::TEXT [Rick] ------------------------------------------------------------------------ U actionpack/test/controller/request_test.rb U actionpack/lib/action_controller/mime_types.rb U actionpack/CHANGELOG Updated to revision 5912. 1) Failure: test_limited_eager_with_multiple_order_columns(EagerAssociationTest) [./test/associations/eager_test.rb:301]: <[#<StiPost:0x45e00120 @attributes {"body"=>"hello", "title"=>"sti me", "taggings_count"=>0, "type"=>"StiPost", "id"=>5, "author_id"=>1}>, #<Post:0x45e0e450 @attributes {"body"=>"hello", "title"=>"sti comments", "taggings_count"=>0, "type"=>"Post", "id"=>4, "author_id"=>1}>]> expected but was <[#<SpecialPost:0x45df700c @attributes {"body"=>"Like I hopefully always am", "title"=>"So I was thinking", "taggings_count"=>0, "type"=>"SpecialPost", "id"=>2, "author_id"=>1}, @author #<Author:0x45df6b84 @attributes={"name"=>"David", "id"=>1, "author_address_id"=>nil}, @post_log=[]>, @comments [#<SpecialComment:0x45df6698 @attributes={"body"=>"Don''t think too hard", "type"=>"SpecialComment", "post_id"=>2, "id"=>3}>]>, #<Post:0x45df61fc @attributes {"body"=>"hello", "title"=>"sti comments", "taggings_count"=>0, "type"=>"Post", "id"=>4, "author_id"=>1}, @author #<Author:0x45df4014 @attributes={"name"=>"David", "id"=>1, "author_address_id"=>nil}, @post_log=[]>, @comments [#<SpecialComment:0x45df516c @attributes={"body"=>"Special type 2", "type"=>"SpecialComment", "post_id"=>4, "id"=>7}>, #<Comment:0x45df4b40 @attributes={"body"=>"Normal type", "type"=>"Comment", "post_id"=>4, "id"=>8}>, #<VerySpecialComment:0x45df444c @attributes={"body"=>"Very Special type", "type"=>"VerySpecialComment", "post_id"=>4, "id"=>5}>, #<SpecialComment:0x45df3c90 @attributes={"body"=>"Special type", "type"=>"SpecialComment", "post_id"=>4, "id"=>6}>]>]>. 2) Failure: test_limited_eager_with_order(EagerAssociationTest) [./test/associations/eager_test.rb:295]: <[#<SpecialPost:0x45dbb7dc @attributes {"body"=>"Like I hopefully always am", "title"=>"So I was thinking", "taggings_count"=>0, "type"=>"SpecialPost", "id"=>2, "author_id"=>1}>, #<Post:0x45dbab70 @attributes {"body"=>"hello", "title"=>"sti comments", "taggings_count"=>0, "type"=>"Post", "id"=>4, "author_id"=>1}>]> expected but was <[#<Post:0x45db4d10 @attributes {"body"=>"hello", "title"=>"sti comments", "taggings_count"=>0, "type"=>"Post", "id"=>4, "author_id"=>1}, @author #<Author:0x45db26a0 @attributes={"name"=>"David", "id"=>1, "author_address_id"=>nil}, @post_log=[]>, @comments [#<SpecialComment:0x45db42ac @attributes={"body"=>"Special type", "type"=>"SpecialComment", "post_id"=>4, "id"=>6}>, #<SpecialComment:0x45db3cd0 @attributes={"body"=>"Special type 2", "type"=>"SpecialComment", "post_id"=>4, "id"=>7}>, #<Comment:0x45db2e20 @attributes={"body"=>"Normal type", "type"=>"Comment", "post_id"=>4, "id"=>8}>, #<VerySpecialComment:0x45db236c @attributes={"body"=>"Very Special type", "type"=>"VerySpecialComment", "post_id"=>4, "id"=>5}>]>, #<SpecialPost:0x45db1f84 @attributes {"body"=>"Like I hopefully always am", "title"=>"So I was thinking", "taggings_count"=>0, "type"=>"SpecialPost", "id"=>2, "author_id"=>1}, @author #<Author:0x45db1c00 @attributes={"name"=>"David", "id"=>1, "author_address_id"=>nil}, @post_log=[]>, @comments [#<SpecialComment:0x45db17b4 @attributes={"body"=>"Don''t think too hard", "type"=>"SpecialComment", "post_id"=>2, "id"=>3}>]>]>. 1019 tests, 3915 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) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
Dan Manges
2007-Jan-12 22:18 UTC
Re: Rails AR/Oracle Unit Test: [5912] failed (but getting better)
Michael, I believe the time when you had 3 failed tests was perhaps a fluke. That changeset would not have affected the test that failed. All 3 of these have effectively had the same failures. Dan Manges --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
Michael A. Schoen
2007-Jan-12 22:32 UTC
Re: Rails AR/Oracle Unit Test: [5912] failed (but getting better)
Dan Manges wrote:> Michael, I believe the time when you had 3 failed tests was perhaps a > fluke. That changeset would not have affected the test that failed. > All 3 of these have effectively had the same failures.Yep, the "extra" failed test in that case was a timing issue, machine must have been bogged down to the point of that test failing. I''m looking into the real failing tests. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---