directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1195922 - /directory/apacheds/branches/apacheds-txns/core/src/test/java/org/apache/directory/server/core/log/LogTest.java
Date Tue, 01 Nov 2011 10:52:04 GMT
Author: elecharny
Date: Tue Nov  1 10:52:04 2011
New Revision: 1195922

URL: http://svn.apache.org/viewvc?rev=1195922&view=rev
Log:
Samll modification done in the test, we flush after every log

Modified:
    directory/apacheds/branches/apacheds-txns/core/src/test/java/org/apache/directory/server/core/log/LogTest.java

Modified: directory/apacheds/branches/apacheds-txns/core/src/test/java/org/apache/directory/server/core/log/LogTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-txns/core/src/test/java/org/apache/directory/server/core/log/LogTest.java?rev=1195922&r1=1195921&r2=1195922&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-txns/core/src/test/java/org/apache/directory/server/core/log/LogTest.java
(original)
+++ directory/apacheds/branches/apacheds-txns/core/src/test/java/org/apache/directory/server/core/log/LogTest.java
Tue Nov  1 10:52:04 2011
@@ -134,12 +134,9 @@ public class LogTest
                 Arrays.fill( recordData, (byte )i );
             
                 userLogRecord.setData( recordData, dataLength );
-                log.log( userLogRecord, false );
+                log.log( userLogRecord, true );
             }
             
-            // Sync everything
-            log.sync( LogAnchor.UNKNOWN_LSN );
-            
             LogScanner logScanner = log.beginScan( startingLogAnchor );
             int recordNumber = 0;
             



Mime
View raw message