lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r1128760 - /lucene/dev/branches/leaky3147/lucene/src/test-framework/org/apache/lucene/store/MockIndexInputWrapper.java
Date Sat, 28 May 2011 19:35:21 GMT
Author: rmuir
Date: Sat May 28 19:35:21 2011
New Revision: 1128760

URL: http://svn.apache.org/viewvc?rev=1128760&view=rev
Log:
disable for now, we can turn this on later to be more picky

Modified:
    lucene/dev/branches/leaky3147/lucene/src/test-framework/org/apache/lucene/store/MockIndexInputWrapper.java

Modified: lucene/dev/branches/leaky3147/lucene/src/test-framework/org/apache/lucene/store/MockIndexInputWrapper.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/leaky3147/lucene/src/test-framework/org/apache/lucene/store/MockIndexInputWrapper.java?rev=1128760&r1=1128759&r2=1128760&view=diff
==============================================================================
--- lucene/dev/branches/leaky3147/lucene/src/test-framework/org/apache/lucene/store/MockIndexInputWrapper.java
(original)
+++ lucene/dev/branches/leaky3147/lucene/src/test-framework/org/apache/lucene/store/MockIndexInputWrapper.java
Sat May 28 19:35:21 2011
@@ -41,7 +41,9 @@ public class MockIndexInputWrapper exten
   @Override
   public void close() throws IOException {
     try {
-      dir.maybeThrowDeterministicException();
+      // turn on the following to look for leaks closing inputs,
+      // after fixing TestTransactions
+      // dir.maybeThrowDeterministicException();
     } finally {
       delegate.close();
       // Pending resolution on LUCENE-686 we may want to



Mime
View raw message