Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7064873

Improve robustness of junit tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7u2
    • 7-client
    • deploy
    • b03
    • generic
    • generic
    • Verified

        Current set of Junit tests shows several problems:
          a) often if one test is failing then execution hangs.
             This is mostly because of non daemon threads staying alive

          b) some tests fail with NPE as they are not ready to real failure. Need to replace these with asserions.

          c) applet-desc in javaws scenario does not complete gracefulle on error as error is thrown in non jubit thread and never delivered to it

          d) WebServer need to be shutdown cleanly. Otherwise it will prevent test process from exit.
             Make sense to not rely on every test to be robust in this regard

              igor Igor Nekrestyanov (Inactive)
              igor Igor Nekrestyanov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: