I too see the problem in the test - there are two problems actually - one in
the test which by catching the wrong exception (should be AssertionError) is
failing to repeat as many RETRIES as defined in the test, and the other in
the so called "RandomSample" which does not even import java.util.Random not
to mention that its behavior is deterministic.

I opened LUCENE-3501 <https://issues.apache.org/jira/browse/LUCENE-3501> for
this

On Sun, Oct 9, 2011 at 1:05 PM, Shai Erera <[email protected]> wrote:

> I think this is a test problem (already found one problem with the test).
> Digging.
>
> Shai
>
>
> On Sun, Oct 9, 2011 at 10:12 AM, Apache Jenkins Server <
> [email protected]> wrote:
>
>> Build:
>> https://builds.apache.org/job/Lucene-Solr-tests-only-trunk-java7/592/
>>
>> 1 tests failed.
>> REGRESSION:
>>  org.apache.lucene.facet.search.SamplingWrapperTest.testCountUsingSamping
>>
>> Error Message:
>> Results are not the same!
>>
>> Stack Trace:
>> junit.framework.AssertionFailedError: Results are not the same!
>>        at
>> org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:149)
>>        at
>> org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:51)
>>        at
>> org.apache.lucene.facet.FacetTestBase.assertSameResults(FacetTestBase.java:316)
>>        at
>> org.apache.lucene.facet.search.sampling.BaseSampleTestTopK.assertSampling(BaseSampleTestTopK.java:93)
>>        at
>> org.apache.lucene.facet.search.sampling.BaseSampleTestTopK.testCountUsingSamping(BaseSampleTestTopK.java:76)
>>        at
>> org.apache.lucene.util.LuceneTestCase$2$1.evaluate(LuceneTestCase.java:610)
>>
>>
>>
>>
>> Build Log (for compile errors):
>> [...truncated 6240 lines...]
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>

Reply via email to