Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-188

AnalysisEngine_implTest incorrectly failing on PowerMac platform

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.1
    • None

    Description

      The uima core AnalysEngine_implTest has this code in it:

      // test that CAS Consumer ran
      File outFile = JUnitExtension.getFile("CpmOutput.txt");
      assertTrue(outFile.lastModified() >= startTime);

      On the PowerMac platform, this test fails (but not in "debug" Eclipse running !). It fails because the lastModified() always returns 000 as the least significant digits of the time, whereas the starTime is apparantly accurate to all significant digits.

      Need to come up with a more robust way to determine the CAS Consumer ran.

      Attachments

        Activity

          People

            alally Adam P. Lally
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: