You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Suneel Marthi (JIRA)" <ji...@apache.org> on 2014/01/28 19:43:38 UTC

[jira] [Resolved] (MAHOUT-1411) Random test failures from TDigestTest

     [ https://issues.apache.org/jira/browse/MAHOUT-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suneel Marthi resolved MAHOUT-1411.
-----------------------------------

    Resolution: Fixed

Increased the tolerance limit to 0.006 (from present 0.005) to handle the random test failures.

> Random test failures from TDigestTest
> -------------------------------------
>
>                 Key: MAHOUT-1411
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1411
>             Project: Mahout
>          Issue Type: Bug
>          Components: Math
>    Affects Versions: 0.8
>            Reporter: Suneel Marthi
>            Assignee: Suneel Marthi
>            Priority: Minor
>             Fix For: 0.9
>
>
> Seeing random test failures like below from TDigestTest. These errors are not repeatable. 
> {Code}
> testUniform(org.apache.mahout.math.stats.TDigestTest)  Time elapsed: 0.356 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<0.5> but was:<0.50578>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:743)
> 	at org.junit.Assert.assertEquals(Assert.java:494)
> 	at org.junit.Assert.assertEquals(Assert.java:592)
> 	at org.apache.mahout.math.stats.TDigestTest.runTest(TDigestTest.java:373)
> 	at org.apache.mahout.math.stats.TDigestTest.testUniform(TDigestTest.java:79)
> Results :
> Failed tests: 
>   TDigestTest.testUniform:79->runTest:373 expected:<0.5> but was:<0.50578>
> {Code}
> {Code}
> Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 40.063 sec
> <<< FAILURE! - in org.apache.mahout.math.stats.TDigestTest
> testSequentialPoints(org.apache.mahout.math.stats.TDigestTest)  Time
> elapsed: 4.674 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<0.5> but was:<0.49489>
> {Code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)