[
https://issues.apache.org/jira/browse/LUCENE-3501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123703#comment-13123703
]
Doron Cohen commented on LUCENE-3501:
-------------------------------------
The error (from Jenkins) was:
{noformat}
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)
reproduce with: ant test -Dtestcase=SamplingWrapperTest
-Dtestmethod=testCountUsingSamping
-Dtests.seed=39c6b88dcada2192:-cf936a4278714b1:-770b2814b4a6acd7
{noformat}
> random sampler is not random (and so facet SamplingWrapperTest occasionally
> fails)
> ----------------------------------------------------------------------------------
>
> Key: LUCENE-3501
> URL: https://issues.apache.org/jira/browse/LUCENE-3501
> Project: Lucene - Java
> Issue Type: Bug
> Components: modules/facet
> Reporter: Doron Cohen
> Assignee: Doron Cohen
> Priority: Minor
>
> RandomSample is not random at all:
> It does not even import java.util.Random, and its behavior is deterministic.
> in addition, the test testCountUsingSamping() never retries as it was
> supposed to (for taking care of the hoped-for randomness).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]