[
https://issues.apache.org/jira/browse/PIG-2926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Coveney updated PIG-2926:
----------------------------------
Attachment: PIG-2926-0.patch
I agree with Koji that this should be turned off in the short term. It's not
really testing anything meaningful b/c of the platform dependency.
Here is a patch that simply removes it.
> TestPoissonSampleLoader failing on rhel environment
> ---------------------------------------------------
>
> Key: PIG-2926
> URL: https://issues.apache.org/jira/browse/PIG-2926
> Project: Pig
> Issue Type: Sub-task
> Reporter: Koji Noguchi
> Priority: Minor
> Attachments: PIG-2926-0.patch
>
>
> Testing on rhel environment, TestPoissonSampleLoader fails with
> {noformat}
> Testcase: testNumSamples took 22.077 sec
> FAILED
> expected:<47> but was:<42>
> junit.framework.AssertionFailedError: expected:<47> but was:<42>
> at
> org.apache.pig.test.TestPoissonSampleLoader.testNumSamples(TestPoissonSampleLoader.java:125)
> {noformat}
> From
> {noformat}
> 124 count = testNumSamples("0.0001", "100");
> 125 assertEquals(count, 42);
> {noformat}
> This runs fine on my mac environment.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira