Hi,

I am finished coding an alternate MergeScheduler but am having troubles running 
some unit tests. In particular, the Lucene.Net.Codecs.Lucene*x tests fail with 
an error similar to the ones below.  Is there a set-up step I am missing 
because they seem to work fine in the TeamCity runs.


I am running: `nunit3-console.exe Lucene.Net.Tests.dll --timeout=30000` from 
within the bin\Debug folder.


Thanks!

Connie


Lucene.Net.Codecs.Lucene3x.TestLucene3xPostingsFormat.BaseIndexFileFormatTestCase.TestMergeStability
Lucene.Net.Index.IndexFormatTooNewException : Format version is not supported 
(resource: MockIndexInputWrapper(RAMInputStream(name=_2.fnm))): -2147483648 
(needs to be between -2 and -3)
   at Lucene.Net.Codecs.Lucene3x.Lucene3xFieldInfosReader.Read(Directory 
directory, String segmentName, String segmentSuffix, IOContext iocontext) in 
D:\git\conniey\lucenenet\src\Lucene.Net.Core\Codecs\Lucene3x\Lucene3xFieldInfosReader.cs:line
 79
   at Lucene.Net.Index.SegmentReader.ReadFieldInfos(SegmentCommitInfo info) in 
D:\git\conniey\lucenenet\src\Lucene.Net.Core\Index\SegmentReader.cs:line 258
...

Lucene.Net.Codecs.Lucene40.TestLucene40TermVectorsFormat.BaseTermVectorsFormatTestCase.TestClone
System.NotSupportedException : this codec can only be used for reading
   at 
Lucene.Net.Codecs.Lucene40.Lucene40PostingsFormat.FieldsConsumer(SegmentWriteState
 state) in 
D:\git\conniey\lucenenet\src\Lucene.Net.Core\Codecs\Lucene40\Lucene40PostingsFormat.cs:line
 248
   at 
Lucene.Net.Codecs.Perfield.PerFieldPostingsFormat.FieldsWriter.AddField(FieldInfo
 field) in 
D:\git\conniey\lucenenet\src\Lucene.Net.Core\Codecs\Perfield\PerFieldPostingsFormat.cs:line
 136



Sent from Outlook<http://aka.ms/weboutlook>

Reply via email to