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

[classlib][drlvm][swing] intermittent failures of swing module tests

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Classlib
    • Labels:
      None
    • Environment:
      Win XP, msvc, debug

      Description

      While running swing module tests in perTest mode iteratively 50 times on Win XP, I observed the following intermittent failures:

      1). javax.swing.SpinnerDateModelTest@testSpinnerDateModel failed 35 times out of 50 on svn=r476124:

      expected:<0> but was:<7>

      junit.framework.AssertionFailedError: expected:<0> but was:<7> at javax.swing.SpinnerDateModelTest.testSpinnerDateModel(SpinnerDateModelTest.java:59) at java.lang.reflect.VMReflection.invokeMethod(Native Method) at javax.swing.BasicSwingTestCase.runBareSuper(BasicSwingTestCase.java) at javax.swing.BasicSwingTestCase.runBareImpl(BasicSwingTestCase.java) at javax.swing.BasicSwingTestCase$1.run(BasicSwingTestCase.java) at java.lang.Thread.run(Unknown Source)

      2). javax.swing.text.WrappedPlainView_SimpleTest 1 time of 50 on svn=r476124:

      junit.framework.AssertionFailedError: Timeout occurred

      3). javax.swing.Timer_MultithreadedTest@testIsRunning failed 1 time of 50 on svn=r476124:

      timer is running

      junit.framework.AssertionFailedError: timer is running at javax.swing.Timer_MultithreadedTest.testIsRunning(Timer_MultithreadedTest.java:317) at java.lang.reflect.VMReflection.invokeMethod(Native Method)

      I'll proceed with iterative test runs and update the list, if there are new failures.

        Attachments

        1. H2282-SpinnerDateModelTest.patch
          1 kB
          Alexey A. Ivanov
        2. H2282-SpinnerDateModelTest.patch
          1 kB
          Alexey A. Ivanov

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tatyana.v.doubtsova@intel.com tatyana doubtsova
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: