lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r835438 - /incubator/lucene.net/trunk/C#/src/Test/Index/TestConcurrentMergeScheduler.cs
Date Thu, 12 Nov 2009 16:40:40 GMT
Author: digy
Date: Thu Nov 12 16:40:40 2009
New Revision: 835438

URL: http://svn.apache.org/viewvc?rev=835438&view=rev
Log:
LUCENENET-228 Index.TestConcurrentMergeScheduler.TestFlushExceptions bug


Modified:
    incubator/lucene.net/trunk/C#/src/Test/Index/TestConcurrentMergeScheduler.cs

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestConcurrentMergeScheduler.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestConcurrentMergeScheduler.cs?rev=835438&r1=835437&r2=835438&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestConcurrentMergeScheduler.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestConcurrentMergeScheduler.cs Thu Nov 12
16:40:40 2009
@@ -49,7 +49,7 @@
 				this.doFail = false;
 			}
 			
-			public virtual void  Eval(MockRAMDirectory dir)
+			public override void  Eval(MockRAMDirectory dir)
 			{
 				if (doFail)
 				{
@@ -57,7 +57,7 @@
 					for (int i = 0; i < trace.FrameCount; i++)
 					{
 						System.Diagnostics.StackFrame sf = trace.GetFrame(i);
-						if ("DoFlush".Equals(sf.GetMethod()))
+						if ("DoFlush".Equals(sf.GetMethod().Name))
 						{
 							//new RuntimeException().printStackTrace(System.out);
 							throw new System.IO.IOException("now failing during flush");



Mime
View raw message