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/08/11 22:29:15 UTC

svn commit: r803282 - /incubator/lucene.net/trunk/C#/src/Test/Index/TestIndexWriter.cs

Author: digy
Date: Tue Aug 11 20:29:14 2009
New Revision: 803282

URL: http://svn.apache.org/viewvc?rev=803282&view=rev
Log:
LUCENENET-189 Occasional failures in TestIndexWriter/TestAddIndexesWithCloseNoWait

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

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestIndexWriter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestIndexWriter.cs?rev=803282&r1=803281&r2=803282&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestIndexWriter.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestIndexWriter.cs Tue Aug 11 20:29:14 2009
@@ -4695,7 +4695,7 @@
 
             protected internal override void Handle(System.Exception t)
             {
-                if (!(t is AlreadyClosedException) && !(t is System.ArgumentNullException))
+                if (!(t is AlreadyClosedException) && !(t is System.NullReferenceException))
                 {
                     System.Console.WriteLine(t.StackTrace); ;
                     lock (failures)
@@ -4762,7 +4762,7 @@
             {
                 bool report = true;
 
-                if (t is AlreadyClosedException || t is MergePolicy.MergeAbortedException || t is System.ArgumentNullException)
+                if (t is AlreadyClosedException || t is MergePolicy.MergeAbortedException || t is System.NullReferenceException)
                 {
                     report = !didClose;
                 }