Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-6391

[classlib][luni] org.apache.harmony.luni.tests.java.io.UnixFileTest.test_getCanonicalPath intermittent failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 5.0M13
    • Classlib
    • None
    • Linux
    • Patch Available

    Description

      Hudson shows the following intermittent failure (though for various reasons it fails more often than not):

      junit.framework.ComparisonFailure: null expected:<...ild/test/luni/folder[1/folder]2> but was:<...ild/test/luni/folder[]2>
      at org.apache.harmony.luni.tests.java.io.UnixFileTest.test_getCanonicalPath(UnixFileTest.java:50)
      at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)

      It is a simple timing problem. I'll attach a patch to fix it.

      Attachments

        1. unixfiletest.diff
          1 kB
          Mark Hindess

        Activity

          People

            hindessm Mark Hindess
            hindessm Mark Hindess
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: