I just posted the patch to fix all of the remaining failures in
Lucene.Net.Store (LUCENENET-244). There is a fix in there as well for
LuceneTestCase to properly tear down the test by resetting seed_init to
false. I thought it was in another patch, however it is not committed
in the trunk yet.
With the fix for seed_init, only one test case in Util remains failing:
TestFieldCacheSanityChecker.TestSanity. The failure is doe to indexing
Double.MaxValue and then using it as a value in the field cache. The
issue is that when you call Double.MaxValue.ToString() and then try to
parse it back out to a double again, it will throw an overflow
exception. I altered the test initially to use
Double.MaxValue.ToString("E20") which corrects the problem, however
George mentioned that it changed the value and could pose an issue.
Question to everyone: what would be the proper formatting string to use
for this case? Some sort of formatting is required to ensure round-trip
conversion. This class is new to 2.9.
Cheers,
Michael
Michael Garski
Sr. Search Architect
310.969.7435 (office)
310.251.6355 (mobile)
www.myspace.com/michaelgarski