On Fri, 21 May 2010, Herbert Roitblat wrote:
Thanks, Andi.
The distance test did say that it failed.
The test output you sent for the distance test doesn't seem to imply that it
failed:
>> DistanceSorting Test
>> Sorted by: <custom: "Location":
>> org.apache.pylucene.search.pythonsortcomparatorsou...@4f9a32e0>
>> Los Betos @ (9,6) -> 4.12310562562
>> Cafe Poca @ (5,9) -> 5.09901951359
>> Nico's Taco Shop @ (3,8) -> 7.28010988928
I could be missing something but the output looks correct, the restaurants
are sorted in increasing distance.
The final "make: *** [test] Error 123" you got just indicates that not all
tests passed. Each individual test reports its own failure details at the
time of running unless something else is seriously wrong just as core
dumping.
Andi..
----- Original Message ----- From: "Andi Vajda" <va...@apache.org>
To: <pylucene-dev@lucene.apache.org>
Sent: Thursday, May 20, 2010 11:12 PM
Subject: Re: Test failures
On May 20, 2010, at 21:21, Herbert Roitblat <h...@orcatec.com> wrote:
I'm trying to set up PyLucene on Ubuntu 10.04 with Python 2.6.2. I
managed to get it to build, but the test revealed some errors. Are they
significant? Do they need some adjustment to run under Python 2.6 or
Ubuntu 10.04?
Thanks,
Herb
CompoundTime : 0:00:00.763478
Multi-file Time : 0:00:00.818167
FAIL testTiming
(lia.indexing.CompoundVersusMultiFileIndexTest.CompoundVersusMultiFileIndexTest
self.assert_(cTiming > mTiming)
Assertion Error
That test is known to fail at times since it is expected for the multi file
test to win, yet the timings are so close that any disturbance on the
machine can slow the test down and skew the timing. The failure is
ignorable. Running the test again usually passes it too.
DistanceSorting Test
Sorted by: <custom: "Location":
org.apache.pylucene.search.pythonsortcomparatorsou...@4f9a32e0>
Los Betos @ (9,6) -> 4.12310562562
Cafe Poca @ (5,9) -> 5.09901951359
Nico's Taco Shop @ (3,8) -> 7.28010988928
This test didn't fail, did it ?
Andi..
make: *** [test] Error 123