Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-14319

Use InetSocketAddress.getHostString() instead of getHostName()

    XMLWordPrintable

Details

    Description

      Invoking InetSocketAddress.getHostName() will trigger a name service reverse lookup if the address was created with a literal IP address. On CI using docker containers this will cause a 10s timeout, increasing the testsuite execution time by a lot.
      We should use InetSocketAddress.getHostString() instead.

      Attachments

        Activity

          People

            ttarrant@redhat.com Tristan Tarrant
            ttarrant@redhat.com Tristan Tarrant
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: