Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-2577

OIDC testsuite relies on localhost being in /etc/hosts

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 2.3.0.Final
    • 2.2.1.Final
    • Testsuite
    • None

      If localhost is not configured as hostname in /etc/hosts it makes the test OidcTest#testSignatureAlgorithm fail because the redirect URI is not correct. This is because we use a hardcoded string "localhost" in oidc testsuite.

      I tried to use InetAddress.getLoopbackAddress but that has localhost hardcoded so find if something else can be used. InetAddress.getLocalHost().getHostName() does not work for this either.

       

      RHEL laptops obtained from the company do not have localhost configured as the hostname for 1270.0.1 in /etc/hosts.

            rhn-support-ivassile Ilia Vassilev
            dvilkola@redhat.com Diana Krepinska
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: