Harmony
  1. Harmony
  2. HARMONY-6391

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0M13
    • Component/s: Classlib
    • Labels:
      None
    • Environment:
      Linux
    • Patch Info:
      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.

        Activity

        Hide
        Hudson added a comment -

        Integrated in Harmony-1.5-head-linux-x86_64 #576 (See http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/576/)
        Apply my patch for "[#] [classlib][luni]
        org.apache.harmony.luni.tests.java.io.UnixFileTest.test_getCanonicalPath
        intermittent failure".

        Show
        Hudson added a comment - Integrated in Harmony-1.5-head-linux-x86_64 #576 (See http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/576/ ) Apply my patch for " [#] [classlib] [luni] org.apache.harmony.luni.tests.java.io.UnixFileTest.test_getCanonicalPath intermittent failure".
        Hide
        Mark Hindess added a comment -

        Fixed in r887260.

        Show
        Mark Hindess added a comment - Fixed in r887260.

          People

          • Assignee:
            Mark Hindess
            Reporter:
            Mark Hindess
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development