lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r912395 - /lucene/java/branches/lucene_3_0_back_compat_tests/src/test/org/apache/lucene/store/TestRAMDirectory.java
Date Sun, 21 Feb 2010 20:27:56 GMT
Author: uschindler
Date: Sun Feb 21 20:27:56 2010
New Revision: 912395

URL: http://svn.apache.org/viewvc?rev=912395&view=rev
Log:
fix RAMDir test failure (this change was not merged to backwards in LUCENE-2095)

Modified:
    lucene/java/branches/lucene_3_0_back_compat_tests/src/test/org/apache/lucene/store/TestRAMDirectory.java

Modified: lucene/java/branches/lucene_3_0_back_compat_tests/src/test/org/apache/lucene/store/TestRAMDirectory.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_3_0_back_compat_tests/src/test/org/apache/lucene/store/TestRAMDirectory.java?rev=912395&r1=912394&r2=912395&view=diff
==============================================================================
--- lucene/java/branches/lucene_3_0_back_compat_tests/src/test/org/apache/lucene/store/TestRAMDirectory.java
(original)
+++ lucene/java/branches/lucene_3_0_back_compat_tests/src/test/org/apache/lucene/store/TestRAMDirectory.java
Sun Feb 21 20:27:56 2010
@@ -125,9 +125,6 @@
             } catch (IOException e) {
               throw new RuntimeException(e);
             }
-            synchronized (ramDir) {
-              assertEquals(ramDir.sizeInBytes(), ramDir.getRecomputedSizeInBytes());
-            }
           }
         }
       };



Mime
View raw message