Harmony
  1. Harmony
  2. HARMONY-2337

[classlib][swing] javax.swing.JCheckBoxMenuItemTest failed intermittently as a part of swing module test run

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Classlib
    • Labels:
      None
    • Environment:
      SuSE 9 Linux ia32

      Description

      The test failed 22 times from 162 while running the whole module in a single JVM.

      1. testcase.patch
        17 kB
        Alexei Fedotov
      2. FieldSetter.java
        2 kB
        Alexei Fedotov

        Activity

        Hide
        Alexei Fedotov added a comment -

        I reproduced the problem using DRLVM r479662.

        Show
        Alexei Fedotov added a comment - I reproduced the problem using DRLVM r479662.
        Hide
        Alexei Fedotov added a comment -

        I used multi-processor system to reproduce the bug.

        Show
        Alexei Fedotov added a comment - I used multi-processor system to reproduce the bug.
        Hide
        Alexei Fedotov added a comment -

        This is a patch for the testing infrastructure to investigate reliability of the swing tests. It modifies SwingTestCase class to run testcases in a loop for a specified period of time. The new file should be added:
        svn add working_classlib/support/src/test/java/org/apache/harmony/testframework/util/FieldSetter.java

        May be it worth to look into Ant macros to make a solution suitable for all modules. This means the patch is for illustrative purposes until another option is investigated.

        Show
        Alexei Fedotov added a comment - This is a patch for the testing infrastructure to investigate reliability of the swing tests. It modifies SwingTestCase class to run testcases in a loop for a specified period of time. The new file should be added: svn add working_classlib/support/src/test/java/org/apache/harmony/testframework/util/FieldSetter.java May be it worth to look into Ant macros to make a solution suitable for all modules. This means the patch is for illustrative purposes until another option is investigated.

          People

          • Assignee:
            Unassigned
            Reporter:
            Alexei Fedotov
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development