You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by ca...@apache.org on 2011/08/22 20:24:50 UTC
svn commit: r1160359 -
/incubator/jena/Experimental/TxTDB/trunk/src/test/java/com/hp/hpl/jena/tdb/transaction/TestTransSystem.java
Author: castagna
Date: Mon Aug 22 18:24:50 2011
New Revision: 1160359
URL: http://svn.apache.org/viewvc?rev=1160359&view=rev
Log:
JENA-91 - This is still failing... without the modelRead() call. The problem must be in the write path.
Modified:
incubator/jena/Experimental/TxTDB/trunk/src/test/java/com/hp/hpl/jena/tdb/transaction/TestTransSystem.java
Modified: incubator/jena/Experimental/TxTDB/trunk/src/test/java/com/hp/hpl/jena/tdb/transaction/TestTransSystem.java
URL: http://svn.apache.org/viewvc/incubator/jena/Experimental/TxTDB/trunk/src/test/java/com/hp/hpl/jena/tdb/transaction/TestTransSystem.java?rev=1160359&r1=1160358&r2=1160359&view=diff
==============================================================================
--- incubator/jena/Experimental/TxTDB/trunk/src/test/java/com/hp/hpl/jena/tdb/transaction/TestTransSystem.java (original)
+++ incubator/jena/Experimental/TxTDB/trunk/src/test/java/com/hp/hpl/jena/tdb/transaction/TestTransSystem.java Mon Aug 22 18:24:50 2011
@@ -173,7 +173,7 @@ public class TestTransSystem
int x2 = count("SELECT * { ?s ?p ?o }", dsg) ;
if (x1 != x2) log.warn(format("READER: %s Change seen: %d/%d : id=%d: i=%d",
dsg.getTransaction().getLabel(), x1, x2, id, i)) ;
- pause(1000) ; modelRead(dsg) ; // Temporary, see JENA-91
+ pause(1000) ; // modelRead(dsg) ; // Temporary, see JENA-91
log.debug("reader finish " + id + "/" + i) ;
dsg.close() ;
dsg = null ;
@@ -250,6 +250,7 @@ public class TestTransSystem
catch (RuntimeException ex)
{
ex.printStackTrace(System.err) ;
+ System.exit(1) ;
if ( dsg != null )
{
dsg.abort() ;
@@ -321,7 +322,7 @@ public class TestTransSystem
@Override
protected int change(DatasetGraphTxn dsg, int id, int i)
{
- writeData(dsg, id, i) ; pause(1000) ; // Temporary, see JENA-91
+ // writeData(dsg, id, i) ; pause(1000) ; // Temporary, see JENA-91
return changeProc(dsg, id, i) ;
}
} ;
@@ -331,7 +332,7 @@ public class TestTransSystem
@Override
protected int change(DatasetGraphTxn dsg, int id, int i)
{
- writeData(dsg, id, i) ; pause(1000) ; // Temporary, see JENA-91
+ writeData(dsg, id, i) ; // pause(1000) ; // Temporary, see JENA-91
return changeProc(dsg, id, i) ;
}
} ;