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

Remove delays from httpserver tests

    XMLWordPrintable

Details

    • b15

    Backports

      Description

        Many httpserver tests wait for one second before cleaning up. This delay appears to be unnecessary, the tests pass just fine with the delay removed.

        Additionally, some tests close the server giving it some time to finish all active requests, i.e. call server.stop(2). Since we know that no requests are active, we can save some time by calling stop(0).

        Attachments

          Issue Links

            Activity

              People

                djelinski Daniel Jelinski
                djelinski Daniel Jelinski
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: