mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAHOUT-649) Test org.apache.mahout.text.SequenceFilesFromMailArchivesTest fails on windows
Date Mon, 04 Apr 2011 09:37:05 GMT

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

Hudson commented on MAHOUT-649:
-------------------------------

Integrated in Mahout-Quality #717 (See [https://hudson.apache.org/hudson/job/Mahout-Quality/717/])
    MAHOUT-649 fix small platform-specific file path problem in test


> Test org.apache.mahout.text.SequenceFilesFromMailArchivesTest fails on windows
> ------------------------------------------------------------------------------
>
>                 Key: MAHOUT-649
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-649
>             Project: Mahout
>          Issue Type: Bug
>    Affects Versions: 0.5
>            Reporter: Dmitriy Lyubimov
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.5
>
>         Attachments: MAHOUT-649.patch
>
>
> org.apache.mahout.text.SequenceFilesFromMailArchivesTest seems to be platform-dependent
in assertion (path comparisons). Assertion fails on Windows
> stack trace: 
> Test set: org.apache.mahout.text.SequenceFilesFromMailArchivesTest
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.144
> sec <<< FAILURE!
> testMain(org.apache.mahout.text.SequenceFilesFromMailArchivesTest)
> Time elapsed: 0.14 sec  <<< FAILURE!
> org.junit.ComparisonFailure:
> expected:<TEST[/subdir/mail-messages.gz/]user@example.com> but
> was:<TEST[\subdir\mail-messages.gz\]user@example.com>
>        at org.junit.Assert.assertEquals(Assert.java:123)
>        at org.junit.Assert.assertEquals(Assert.java:145)
>        at org.apache.mahout.text.SequenceFilesFromMailArchivesTest.testMain(SequenceFilesFromMailArchivesTest.java:112)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
>        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
>        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
>        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
>        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
>        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
>        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
>        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
>        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
>        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
>        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
>        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
>        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
>        at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>        at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
> introduced with commit :
> {code}
> $ git log --stat 86e6e1d64901 -1
> commit 86e6e1d64901cc0ce436d43a56fcadb8a2cb6c1d
> Author: Grant Ingersoll <gsingers@apache.org>
> Date:   Fri Mar 25 14:39:25 2011 +0000
>    MAHOUT-588: partial commit, not including shell script yet
>    git-svn-id: https://svn.apache.org/repos/asf/mahout/trunk@1085408 13f79535-4
>  .../text/MailArchivesClusteringAnalyzer.java       |  171 +++++++++++
>  .../mahout/text/SequenceFilesFromMailArchives.java |  295 ++++++++++++++++++++
>  .../text/MailArchivesClusteringAnalyzerTest.java   |   61 ++++
>  .../text/SequenceFilesFromMailArchivesTest.java    |  214 ++++++++++++++
>  4 files changed, 741 insertions(+), 0 deletions(-)
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message