You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2016/10/23 13:01:59 UTC

[13/50] [abbrv] lucenenet git commit: Fixed bug in Core.Index.TestConcurrentMergeScheduler.TestFlushExceptions() that caused it not to finish.

Fixed bug in Core.Index.TestConcurrentMergeScheduler.TestFlushExceptions() that caused it not to finish.


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/575630da
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/575630da
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/575630da

Branch: refs/heads/master
Commit: 575630da594c51706a8e0349fcb44870e22baff2
Parents: 6441534
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Sun Oct 16 10:18:01 2016 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Thu Oct 20 18:20:54 2016 +0700

----------------------------------------------------------------------
 .../core/Index/TestConcurrentMergeScheduler.cs                 | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/575630da/src/Lucene.Net.Tests/core/Index/TestConcurrentMergeScheduler.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestConcurrentMergeScheduler.cs b/src/Lucene.Net.Tests/core/Index/TestConcurrentMergeScheduler.cs
index 0d347ed..c4abaf2 100644
--- a/src/Lucene.Net.Tests/core/Index/TestConcurrentMergeScheduler.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestConcurrentMergeScheduler.cs
@@ -79,11 +79,11 @@ namespace Lucene.Net.Index
                         {
                             break;
                         }
-                        if ("flush".Equals(method.Name))
+                        if ("Flush".Equals(method.Name))
                         {
                             isDoFlush = true;
                         }
-                        if ("close".Equals(method.Name))
+                        if ("Close".Equals(method.Name))
                         {
                             isClose = true;
                         }
@@ -103,8 +103,6 @@ namespace Lucene.Net.Index
         [Test]
         public virtual void TestFlushExceptions()
         {
-            fail("Test has infinite recursion");
-
             MockDirectoryWrapper directory = NewMockDirectory();
             FailOnlyOnFlush failure = new FailOnlyOnFlush(this);
             directory.FailOn(failure);