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

improve rmi tests by replacing TestLibrary.createRegistryOnUnusedPort, getUnusedRandomPort

    Details

    • Subcomponent:
    • Resolved In Build:
      b150

      Description

      there are rmi tests using TestLibrary.createRegistryOnUnusedPort, getUnusedRandomPort, registry created by these 2 methods could cause "port in use" exception intermittently. For some of the tests, these 2 methods can and should be replaced with createRegistryOnEphemeralPort and getRegistryPort.
      Although not all the modified tests failed, it will help improve rmi test quality by replacing these methods.

        Attachments

          Activity

            People

            • Assignee:
              mli Hamlin Li
              Reporter:
              mli Hamlin Li
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: