You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "zhubin (JIRA)" <ji...@apache.org> on 2015/03/20 09:22:38 UTC

[jira] [Commented] (MAHOUT-1651) [JDK8] maven test failed for Mahout 0.9 with JDK 8, and JDK 7 can pass

    [ https://issues.apache.org/jira/browse/MAHOUT-1651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14370948#comment-14370948 ] 

zhubin commented on MAHOUT-1651:
--------------------------------

I see the trunk has changed the org/apache/mahout/math/random/MultinomialTest.java to work around this issue. However, I'm not sure if the JDK 8 itself introduced the issue or it was a test code issue.

> [JDK8] maven test failed for Mahout 0.9 with JDK 8, and JDK 7 can pass
> ----------------------------------------------------------------------
>
>                 Key: MAHOUT-1651
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1651
>             Project: Mahout
>          Issue Type: Bug
>          Components: Math
>    Affects Versions: 0.9
>            Reporter: zhubin
>            Priority: Minor
>
> Running org.apache.mahout.math.random.MultinomialTest
> Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.371 sec <<< FAILURE! - in org.apache.mahout.math.random.MultinomialTest
> testPrime(org.apache.mahout.math.random.MultinomialTest)  Time elapsed: 0.039 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<16> but was:<17>
>         at __randomizedtesting.SeedInfo.seed([AAD9BA068467B3DA:9D6D3992EDADE21A]:0)
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.failNotEquals(Assert.java:743)
>         at org.junit.Assert.assertEquals(Assert.java:118)
>         at org.junit.Assert.assertEquals(Assert.java:555)
>         at org.junit.Assert.assertEquals(Assert.java:542)
>         at org.apache.mahout.math.random.MultinomialTest.testPrime(MultinomialTest.java:143)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)