Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-1334

SequenceFilesFromMailArchivesTest fails on Oracle JDK7 on Linux

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.8
    • Fix Version/s: 0.9
    • Component/s: Integration
    • Labels:
      None

      Description

      I get test failures when running SequenceFilesFromMailArchivesTest in Oracle JDK7 on Linux:

      ~/src/mahout$ mvn clean install -DfailIfNoTests=false -Dtest=SequenceFilesFromMailArchivesTest
      ...
      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running org.apache.mahout.text.SequenceFilesFromMailArchivesTest
      Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.934 sec <<< FAILURE! - in org.apache.mahout.text.SequenceFilesFromMailArchivesTest
      testSequential(org.apache.mahout.text.SequenceFilesFromMailArchivesTest)  Time elapsed: 0.57 sec  <<< FAILURE!
      org.junit.ComparisonFailure: expected:<TEST/subdir/[mail-messages].gz/user@example.com> but was:<TEST/subdir/[subsubdir/mail-messages-2].gz/user@example.com>
      	at org.junit.Assert.assertEquals(Assert.java:115)
      	at org.junit.Assert.assertEquals(Assert.java:144)
      	at org.apache.mahout.text.SequenceFilesFromMailArchivesTest.testSequential(SequenceFilesFromMailArchivesTest.java:106)
      
      
      Results :
      
      Failed tests: 
        SequenceFilesFromMailArchivesTest.testSequential:106->Assert.assertEquals:144->Assert.assertEquals:115 expected:<TEST/subdir/[mail-messages].gz/user@example.com> but was:<TEST/subdir/[subsubdir/mail-messages-2].gz/user@example.com>
      
      Tests run: 2, Failures: 1, Errors: 0, Skipped: 0
      

        Attachments

        1. MAHOUT-1334.patch
          12 kB
          Mike Percy

          Issue Links

            Activity

              People

              • Assignee:
                smarthi Suneel Marthi
                Reporter:
                mpercy Mike Percy
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: