lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Granroth, Neal V." <>
Subject Unit test TestIndexWithThreads fails
Date Tue, 18 Sep 2007 16:02:47 GMT
Has anyone else encountered problems with unit test "TestIndexModifier.TestIndexWithThreads"
using the current source SVN?

I encounter this exception:

An unhandled exception was detected. Since it was most likely thrown on a separate thread,
it may or may not have been caused by the current test.

System.SystemException: Internal error: 2 deleted 0 documents, term=id:38
   at Lucene.Net.Index.IndexThread.Run() in F:\Lucene-dev2\Test\Index\TestIndexModifier.cs:line
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback
callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

If I change the thead affinity of NUnit before starting the tests, forcing the tests to be
run only a single CPU, this exception does not occur.

-- Neal

View raw message