[
http://issues.apache.org/jira/browse/DERBY-907?page=comments#action_12365163 ]
Kathey Marsden commented on DERBY-907:
--------------------------------------
I tend to think we can abstract out the connections that need special
attributes without using TestUtil.HAVE_DRIVER_CLASS in the test.
A couple of ideas, I am sure there are better ones available ...
Instead of TestUtil.shutdownUsingDataSource("") we could have
TestUtil.shutdown(String database); and TestUtil.shutdown() (for system
shutdown)
Perhaps an alternate startJBMS call like startJBMS(Properties info, boolean
override) to allow tests to specify attributes to override or append to the
ones set in the properties would work for the generic case, but that would be a
little weird for shutdown.
It would be good to have something easy for folks making/fixing tests so that
they run with J2ME.
> regression test failure in RecoveryAfterBackup on wssd5.6 ibm jvm (j2me)
> ------------------------------------------------------------------------
>
> Key: DERBY-907
> URL: http://issues.apache.org/jira/browse/DERBY-907
> Project: Derby
> Type: Bug
> Components: Regression Test Failure
> Versions: 10.2.0.0
> Reporter: Mike Matrigali
> Assignee: Deepa Remesh
> Priority: Critical
> Attachments: derby-907.diff, derby-907.status
>
> It looks like this test may be using a class that does not exist in j2me, can
> someone with j2me
> knowledge take a look? If so test either should not run there, or test may
> need to change. This
> failed from 1/27 codeline, last passed 1/13 that I know of.
> *** Start: RecoveryAfterBackup jdk1.3.1 subset - 2.1 storeall:storerecovery
> 2006-01-29 20:40:13 ***
> 1 del
> < Count: 2 Sum: 1
> 2 del
> < Inserting records ...
> 3 del
> < Shutting down database ...
> 4 del
> < Database shutdown completed
> 5 del
> < Starting restore with roll-forward recovery..
> 6 del
> < Verifying database ...
> 7 del
> < Count: 256 Sum: 32640
> 7 add
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> > javax.sql.DataSource
> Test Failed.
> *** End: RecoveryAfterBackup jdk1.3.1 subset - 2.1 storeall:storerecovery
> 2006-01-29 20:40:14 ***
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira