Thanks DIGY! I also figured out that I had to perform a build on the DemoLib project as well to get the tests to pass. Why are there three separate Visual Studio solutions for Lucene.Net rather than having all of the projects in one solution with inter-project references? Is there some compelling reason I am not aware of?

I still see two tests that are failing:

Search\TestSort\TestNormalizedScores
Search\TestSort\TestRemoteSort

Both are coming from within the FieldDocSortedHitQueue.LessThan(Object a, Object b) method. Am I the only one seeing this or are these the last tests to get to pass for 2.1? I'm stepping through the tests now to determine why they are failing.

Thanks,

Michael


DIGY wrote:
Compression (Test and Lucene.Net Projects):
        1- Add SHARP_ZIP_LIB to Project/Builds/Conditional Compilation
symbols
        2- Add a reference to ICSharpCode.SharpZipLib.dll(which can be found
with googling)
Remoting:
        Since all tests(TestRemoteSearchable and TestSort) releated with
remoting use port 1099, it may the case that the port is used by another
server-thread. Running tests one after another(not alltogether) can be a
solution.

These are the changes i can remember.
DIGY



-----Original Message-----
From: Michael Garski [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 18, 2007 4:47 AM
To: [email protected]
Subject: Unit Tests

I have a question on the unit tests...

I've retrieved the latest source from the svn repository and built both solutions in VS2005, but the unit tests involving remoting or compression fail.

Am I missing a configuration for those to pass?

Thanks,

Michael


Reply via email to