[ http://issues.apache.org/jira/browse/DERBY-907?page=all ]
Deepa Remesh updated DERBY-907:
-------------------------------
Attachment: derby-907-v2.diff
derby-907-v2.status
Attaching a second version of patch 'derby-907-v2.diff' which modifies the test
store/RecoveryAfterBackup.java to run with j9 and j9_foundation vm.
* Modifies app_properties files to add ij.dataSource properties. Also changed
'database' to 'ij.database' property. Removed usedefaults to avoid conflict
with default property.
* Adds a method getConnection to TestUtil to get connection using different set
of attributes than what is specified in _app.properties file.
* Changes the test store/RecoveryAfterBackup to use the above method to
shutdown and get connection. I'll change other tests to use the new method in a
later patch.
With the patch, I ran the RecoveryAfterBackup tests with Sun JDK1.4.2, j9 and
j9 foundation vm. Please review/commit this patch. Thanks.
> 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-v2.diff, derby-907-v2.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