lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [3/5] lucenenet git commit: Comment out assert.
Date Wed, 18 Feb 2015 04:24:04 GMT
Comment out assert.


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

Branch: refs/heads/master
Commit: 92485464d664fd6fca314b99cc0c08c3e2004ce6
Parents: f1a2b50
Author: Chand2048 <Chand@Microsoft.com>
Authored: Tue Feb 17 16:09:11 2015 -0800
Committer: Chand2048 <Chand@Microsoft.com>
Committed: Tue Feb 17 16:09:11 2015 -0800

----------------------------------------------------------------------
 src/Lucene.Net.Tests/core/Index/TestIndexWriter.cs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/92485464/src/Lucene.Net.Tests/core/Index/TestIndexWriter.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestIndexWriter.cs b/src/Lucene.Net.Tests/core/Index/TestIndexWriter.cs
index 58a184f..941ca10 100644
--- a/src/Lucene.Net.Tests/core/Index/TestIndexWriter.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestIndexWriter.cs
@@ -1430,7 +1430,8 @@ namespace Lucene.Net.Index
             // up front... else we can see a false failure if 2nd
             // interrupt arrives while class loader is trying to
             // init this class (in servicing a first interrupt):
-            Assert.IsTrue((new ThreadInterruptedException(new Exception("Thread interrupted"))).InnerException
is ThreadInterruptedException);
+            // C# does not have the late load problem.
+            //Assert.IsTrue((new ThreadInterruptedException(new Exception("Thread interrupted"))).InnerException
is ThreadInterruptedException);
 
             // issue 300 interrupts to child thread
             int numInterrupts = AtLeast(300);


Mime
View raw message