You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by km...@apache.org on 2006/02/17 01:46:52 UTC

svn commit: r378408 - /db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/tests/storetests/st_schema_app.properties

Author: kmarsden
Date: Thu Feb 16 16:46:50 2006
New Revision: 378408

URL: http://svn.apache.org/viewcvs?rev=378408&view=rev
Log:
DERBY-996  storetests/st_derby715.java fails in J2ME in 10.1 branch

Attaching a patch 'derby-996-v1.diff' for 10.1 branch to resolve failure in storetests/st_derby715.java. This patch modifies only one file:
M java\testing\org\apache\derbyTesting\functionTests\tests\storetests\st_schema_app.properties

The database for st_derby715 test gets created by a previous test (st_schema.sql). This test was disabled in j2me. The patch removes "runwithfoundation=false" from st_schema_app.properties. It adds ij.dataSource.* properties and changes 'database' property to 'ij.database' so that test harness will use the datasource properties when getting the initial connection.

Contributed by Deepa Remesh


Modified:
    db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/tests/storetests/st_schema_app.properties

Modified: db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/tests/storetests/st_schema_app.properties
URL: http://svn.apache.org/viewcvs/db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/tests/storetests/st_schema_app.properties?rev=378408&r1=378407&r2=378408&view=diff
==============================================================================
--- db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/tests/storetests/st_schema_app.properties (original)
+++ db/derby/code/branches/10.1/java/testing/org/apache/derbyTesting/functionTests/tests/storetests/st_schema_app.properties Thu Feb 16 16:46:50 2006
@@ -2,11 +2,12 @@
 # storetests creates the database and wants autocommit mode
 #
 #
-database=jdbc:derby:wombat;create=true
+ij.database=jdbc:derby:wombat;create=true
 derby.infolog.append=true
 ij.showNoConnectionsAtStart=true
 ij.showNoCountForSelect=true
 ij.defaultResourcePackage=/org/apache/derbyTesting/functionTests/tests/storetests/
 
-#Exclude for J2ME/Foundation - test requires java.sql.Driver
-runwithfoundation=false
\ No newline at end of file
+# DataSource properties, only used if ij.dataSource is set
+ij.dataSource.databaseName=wombat
+ij.dataSource.createDatabase=create
\ No newline at end of file