db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r611298 - in /db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests: master/ suites/ tests/store/
Date Fri, 11 Jan 2008 20:55:11 GMT
Author: mamta
Date: Fri Jan 11 12:55:08 2008
New Revision: 611298

URL: http://svn.apache.org/viewvc?rev=611298&view=rev
Log:
Mergeing test changes from trunk revision(611295) into 10.3 codeline. The commit coments
in trunk were as follows

Adding a test case for DERBY-3302. There are two sub-test case classes involved here, col_rec1.java
and col_rec2.java 

The purpose of col_rec1 test and col_rec2 test is to create a territory based database and
create some objects with collation sensitive character types. Then, make the database crash
so that during the recovery, store engine has to do collation related operations. Those collation
related operations are going to require that we use correct Collator object. DERBY-3302 demonstrated
a npe during this operation because Derby was relying on database context to get the correct
Collator object. But database context is not available at this point in the recovery. With
the fix for DERBY-3302, the Collator object will now be obtained from collation sensitive
datatypes itself rather than looking at database context which is not available at this point
in recovery. 

col_rec1 class will do the steps of create a territory based database and create some objects
with collation sensitive character types. Then, make the database crash. col_rec2 class will
do the part of rebooting the crashed db which will require store to go through recovery. 



Added:
    db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/master/col_rec1.out
  (props changed)
      - copied unchanged from r611295, db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/col_rec1.out
    db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/master/col_rec2.out
  (props changed)
      - copied unchanged from r611295, db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/col_rec2.out
    db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/suites/storeCollationDBrecovery.properties
  (props changed)
      - copied unchanged from r611295, db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/storeCollationDBrecovery.properties
    db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/suites/storeCollationDBrecovery.runall
  (props changed)
      - copied unchanged from r611295, db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/storeCollationDBrecovery.runall
    db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/tests/store/col_rec1.java
      - copied unchanged from r611295, db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/col_rec1.java
    db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/tests/store/col_rec1_app.properties
  (props changed)
      - copied unchanged from r611295, db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/col_rec1_app.properties
    db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/tests/store/col_rec2.java
      - copied unchanged from r611295, db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/col_rec2.java
    db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/tests/store/col_rec2_app.properties
  (props changed)
      - copied unchanged from r611295, db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/store/col_rec2_app.properties

Propchange: db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/master/col_rec1.out
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/master/col_rec2.out
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/suites/storeCollationDBrecovery.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/suites/storeCollationDBrecovery.runall
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/tests/store/col_rec1_app.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/tests/store/col_rec2_app.properties
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message