lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r803282 - /incubator/lucene.net/trunk/C#/src/Test/Index/TestIndexWriter.cs
Date Tue, 11 Aug 2009 20:29:15 GMT
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;
                 }



Mime
View raw message