Forums » Rails-core » Rails AR/Oracle Unit Test: [4291] failed

Rails AR/Oracle Unit Test: [4291] failed
Posted by Michael Schoen (Guest)
on 28.04.2006 00:43
"marcel" made AR/Oracle cry...

http://dev.rubyonrails.org/changeset/4291
------------------------------------------------------------------------
r4291 | marcel | 2006-04-27 15:39:45 -0700 (Thu, 27 Apr 2006) | 1 line

Add support for FrontBase (http://www.frontbase.com/) with a new adapter 
thanks to the hard work of one Mike Laster. Closes #4093. 
[mlaster@metavillage.com]
------------------------------------------------------------------------

A  activerecord/test/connections/native_frontbase
A  activerecord/test/connections/native_frontbase/connection.rb
U  activerecord/test/reflection_test.rb
U  activerecord/test/base_test.rb
U  activerecord/test/adapter_test.rb
U  activerecord/test/threaded_connections_test.rb
U  activerecord/test/deprecated_finder_test.rb
U  activerecord/test/migration_test.rb
U  activerecord/test/finder_test.rb
A  activerecord/test/fixtures/db_definitions/frontbase.sql
A  activerecord/test/fixtures/db_definitions/frontbase.drop.sql
A  activerecord/test/fixtures/db_definitions/frontbase2.sql
A  activerecord/test/fixtures/db_definitions/frontbase2.drop.sql
U  activerecord/test/transactions_test.rb
U  activerecord/test/pk_test.rb
U  activerecord/Rakefile
A 
activerecord/lib/active_record/connection_adapters/frontbase_adapter.rb
U  activerecord/lib/active_record/calculations.rb
U  activerecord/lib/active_record/fixtures.rb
U  activerecord/lib/active_record/base.rb
U  activerecord/lib/active_record.rb
U  activerecord/CHANGELOG
Updated to revision 4291.

/usr/pkg/ruby184/bin/ruby -Ilib:test:test/connections/native_oracle 
"/usr/pkg/ruby184/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb" 
"test/associations_extensions_test.rb" 
"test/deprecated_associations_test.rb" "test/mixin_test.rb" 
"test/associations_join_model_test.rb" "test/ar_schema_test.rb" 
"test/locking_test.rb" "test/reflection_test.rb" 
"test/column_alias_test.rb" "test/aaa_create_tables_test.rb" 
"test/associations_test.rb" "test/unconnected_test.rb" 
"test/base_test.rb" "test/associations_cascaded_eager_loading_test.rb" 
"test/defaults_test.rb" "test/fixtures_test.rb" "test/callbacks_test.rb" 
"test/inheritance_test.rb" "test/binary_test.rb" 
"test/schema_dumper_test.rb" "test/adapter_test.rb" 
"test/class_inheritable_attributes_test.rb" "test/calculations_test.rb" 
"test/threaded_connections_test.rb" "test/pk_test.rb" 
"test/deprecated_finder_test.rb" "test/associations_go_eager_test.rb" 
"test/migration_test.rb" "test/lifecycle_test.rb" "test/multiple_db_te!
 st.rb" "test/mixin_nested_set_test.rb" "test/method_scoping_test.rb" 
"test/finder_test.rb" "test/modules_test.rb" "test/transactions_test.rb" 
"test/aggregations_test.rb" "test/readonly_test.rb" 
"test/association_callbacks_test.rb" "test/validations_test.rb" 
"test/synonym_test_oracle.rb"
(in /home/mschoen/rails-svn/autopilot/activerecord)
./test/../lib/../../activesupport/lib/active_support/dependencies.rb:147:in 
`require': no such file to load -- frontbase (MissingSourceFile)
	from 
./test/../lib/../../activesupport/lib/active_support/dependencies.rb:147:in 
`require'
	from 
./test/../lib/active_record/connection_adapters/frontbase_adapter.rb:5
	from 
./test/../lib/../../activesupport/lib/active_support/dependencies.rb:147:in 
`require'
	from ./test/../lib/active_record.rb:75
	from ./test/../lib/active_record.rb:74
	from ./test/abstract_unit.rb:5
	from ./test/associations_extensions_test.rb:1
	from 
/usr/pkg/ruby184/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb:5
	from 
/usr/pkg/ruby184/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb:5
rake aborted!
Command failed with status (1): [/usr/pkg/ruby184/bin/ruby 
-Ilib:test:test/...]

(See full trace by running task with --trace)
Re: Rails AR/Oracle Unit Test: [4291] failed
Posted by Marcel Molina Jr. (Guest)
on 28.04.2006 00:46
On Thu, Apr 27, 2006 at 03:40:42PM -0700, Michael Schoen wrote:
> "marcel" made AR/Oracle cry...
> 
> http://dev.rubyonrails.org/changeset/4291
> ------------------------------------------------------------------------
> r4291 | marcel | 2006-04-27 15:39:45 -0700 (Thu, 27 Apr 2006) | 1 line
> 
> Add support for FrontBase (http://www.frontbase.com/) with a new adapter thanks to the hard work of one Mike Laster. Closes #4093. [mlaster@metavillage.com]
> ------------------------------------------------------------------------

<snip>

> ./test/../lib/../../activesupport/lib/active_support/dependencies.rb:147:in `require': no such file to load -- frontbase (MissingSourceFile)

Just added a new frontbase adapter...

marcel
Re: Rails AR/Oracle Unit Test: [4291] failed
Posted by Michael A. Schoen (Guest)
on 28.04.2006 00:52
Marcel Molina Jr. wrote:
> Just added a new frontbase adapter...

Which I think breaks because the require of 'frontbase' isn't rescued --
so if frontbase itself isn't installed, kaboom!
Re: Rails AR/Oracle Unit Test: [4291] failed
Posted by Marcel Molina Jr. (Guest)
on 28.04.2006 00:58
On Thu, Apr 27, 2006 at 03:51:20PM -0700, Michael A. Schoen wrote:
> Marcel Molina Jr. wrote:
> >Just added a new frontbase adapter...
> 
> Which I think breaks because the require of 'frontbase' isn't rescued -- 
> so if frontbase itself isn't installed, kaboom!

Yeah. I pulled the require out of the top level of the adapter file and 
into
the connection method. Now we just need to see if all the Oracle tests 
still
pass :)

Thanks again for setting up this CI for Oracle Michael. Very cool.

/me looks squinty eyed at all the other proprietary adapter developers 
who
haven't setup CI yet

marcel
Re: Rails AR/Oracle Unit Test: [4291] failed
Posted by Michael A. Schoen (Guest)
on 28.04.2006 01:01
Marcel Molina Jr. wrote:
> Thanks again for setting up this CI for Oracle Michael. Very cool.
> 
> /me looks squinty eyed at all the other proprietary adapter developers who
> haven't setup CI yet

I'm happy to share the script I'm using to do the automated testing...