lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andi Vajda <va...@apache.org>
Subject Re: Test failures
Date Fri, 21 May 2010 06:12:12 GMT

On May 20, 2010, at 21:21, Herbert Roitblat <herb@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.PythonSortComparatorSource@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
>

Mime
View raw message