The problem with the taggings table is that aaa_create_tables isn't the
first test that is run (on linux at least).

On that note, is it the best design to have a test dependent on another
test? associations_join_model_test is dependent on aaa_create_tables running
before it.

Still working on resolving the rest of the errors.


Bob Silva
http://www.railtie.net/

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:rails-core-
> [EMAIL PROTECTED] On Behalf Of Bob Silva
> Sent: Friday, February 10, 2006 7:22 AM
> To: rails-core@lists.rubyonrails.org
> Subject: RE: [Rails-core] AR Unit Tests
> 
> Hi Lars,
> 
> Glad to see those errors, it's EXACTLY the same output I receive. If you
> run
> tests again, all the taggings errors disappear though.
> 
> Bob Silva
> http://www.railtie.net/
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:rails-core-
> > [EMAIL PROTECTED] On Behalf Of Lars Pind
> > Sent: Friday, February 10, 2006 7:14 AM
> > To: rails-core@lists.rubyonrails.org
> > Subject: Re: [Rails-core] AR Unit Tests
> >
> > I'm seeing the same on OS X. I just upgraded from MySQL 4.1 to 5.0
> > (mysql-standard-5.0.18-osx10.4-powerpc), and ruby from 1.8.2 to 1.8.4
> > (ruby 1.8.4 (2005-12-24) [powerpc-darwin8.4.0]) just to make sure
> > that wasn't the cause. It wasn't.
> >
> > This is the status:
> >
> > 701 tests, 2210 assertions, 3 failures, 27 errors
> >
> > The ones I'm seeing are:
> >
> > ActiveRecord::StatementInvalid: Mysql::Error: Table
> > 'activerecord_unittest.taggings' doesn't exist: DELETE FROM taggings
> > 16 times
> >
> >
> > ActiveRecord::StatementInvalid: Mysql::Error: Table
> > 'activerecord_unittest.legacy_things' doesn't exist: DELETE FROM
> > legacy_things
> > 3 times
> >
> > 3 transaction tests failing:
> >
> > 20) Failure:
> > test_callback_rollback_in_save(TransactionTest) [./test/
> > transactions_test.rb:119]:
> > <false> is not true.
> >
> > 21) Failure:
> > test_failing_on_exception(TransactionTest) [./test/
> > transactions_test.rb:87]:
> > First shouldn't have been approved.
> > <false> is not true.
> >
> > 22) Failure:
> > test_successful_with_return(TransactionTest) [./test/
> > transactions_test.rb:49]:
> > <false> is not true.
> >
> >
> > and finally
> >
> > ActiveRecord::RecordNotFound: Couldn't find Mixin with ID=1001
> > 8 times.
> >
> >
> > I tried a little svn digging, and I had to go all the way back to
> > December 1st 2005 to find a checkout that tested cleanly for me. Weird.
> >
> > /Lars
> >
> >
> > On Feb 10, 2006, at 8:15 AM, Michael Koziarski wrote:
> >
> > >> Yep, I have the dbs set up right, MySQL 5.1.0 with InnoDB enabled
> > >> on a fresh
> > >> SuSE 10 box. Most of the tests pass, I'll tinker with it and see
> > >> what's
> > >> happening.
> > >>
> > >> Curious if anyone on the core team tests outside of OSX? (Meaning,
> > >> are the
> > >> tests known to pass in a non-osx environment?) The reason I ask,
> > >> is in
> > >> activesupport, there is an incompatibility with Linux when calling
> > >> STDERR.tell resulting in a failed test.
> > >
> > > Jeremy and Nicholas have been seen running tests on linux, but I
> > > personally only use mac os x and freebsd.    If you can't track it
> > > down, let me know,  I can probably dig up my old fedora core
> > > installation.
> > >
> > >
> > > --
> > > Cheers
> > >
> > > Koz
> > > _______________________________________________
> > > Rails-core mailing list
> > > Rails-core@lists.rubyonrails.org
> > > http://lists.rubyonrails.org/mailman/listinfo/rails-core
> >
> > _______________________________________________
> > Rails-core mailing list
> > Rails-core@lists.rubyonrails.org
> > http://lists.rubyonrails.org/mailman/listinfo/rails-core
> 
> _______________________________________________
> Rails-core mailing list
> Rails-core@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-core

_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to