You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by di...@apache.org on 2009/11/12 17:40:40 UTC
svn commit: r835438 -
/incubator/lucene.net/trunk/C#/src/Test/Index/TestConcurrentMergeScheduler.cs
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");