I've patched Rails active_record's tests so I can run them from JRuby
and there are three tests that crash JRuby when running them with
activerecord-jdbcmysql-adapter.
It could be jruby or the jdbc adapter ... not sure yet.
I've got more details on the activerecord-jdbc list at kenai here
(including a patch for active_record which is a start at making it
easy to run the tests in jruby):
http://kenai.com/projects/activerecord-jdbc/lists/dev/archive/2008-12/message/0
These are the tests where jruby crashes during test:
jruby -S rake test_jdbcmysql TEST=test/cases/base_test.rb
jruby -S rake test_jdbcmysql TEST=test/cases/serialization_test.rb
jruby -S rake test_jdbcmysql TEST=test/cases/xml_serialization_test.rb
These are run from the active_record dir from a git clone of rails
and with my jruby-jdbc testing patch applied.
The last error in the stack trace is the same for all three crashes:
java.lang.NoClassDefFoundError: org/jruby/util/collections/IntHashMap
An example of the full stack trace produced when running:
jruby -S rake test_jdbcmysql TEST=test/cases/base_test.rb
is here:
http://pastie.org/347552
Tests were with svn rev 8463 of JRuby.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email