You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by si...@apache.org on 2011/04/15 09:41:52 UTC
svn commit: r1092613 -
/lucene/dev/branches/realtime_search/lucene/src/test/org/apache/lucene/index/TestFlushByRamOrCountsPolicy.java
Author: simonw
Date: Fri Apr 15 07:41:51 2011
New Revision: 1092613
URL: http://svn.apache.org/viewvc?rev=1092613&view=rev
Log:
disabled fragile assert in healthiness test
Modified:
lucene/dev/branches/realtime_search/lucene/src/test/org/apache/lucene/index/TestFlushByRamOrCountsPolicy.java
Modified: lucene/dev/branches/realtime_search/lucene/src/test/org/apache/lucene/index/TestFlushByRamOrCountsPolicy.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/realtime_search/lucene/src/test/org/apache/lucene/index/TestFlushByRamOrCountsPolicy.java?rev=1092613&r1=1092612&r2=1092613&view=diff
==============================================================================
--- lucene/dev/branches/realtime_search/lucene/src/test/org/apache/lucene/index/TestFlushByRamOrCountsPolicy.java (original)
+++ lucene/dev/branches/realtime_search/lucene/src/test/org/apache/lucene/index/TestFlushByRamOrCountsPolicy.java Fri Apr 15 07:41:51 2011
@@ -297,12 +297,13 @@ public class TestFlushByRamOrCountsPolic
assertFalse(
"single thread must not block numThreads: " + numThreads[i],
docsWriter.healthiness.hasBlocked());
- } else {
- if (docsWriter.healthiness.wasStalled) {
- // TODO maybe this assumtion is too strickt
- assertTrue(" we should have blocked here numThreads: "
- + numThreads[i], docsWriter.healthiness.hasBlocked());
- }
+ // this assumption is too strict in this test
+// } else {
+// if (docsWriter.healthiness.wasStalled) {
+// // TODO maybe this assumtion is too strickt
+// assertTrue(" we should have blocked here numThreads: "
+// + numThreads[i], docsWriter.healthiness.hasBlocked());
+// }
}
assertActiveBytesAfter(flushControl);
writer.close(true);