Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1975

Add @IPv6Ignore and @IPv6Only annotations for unit tests

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 2.2.13.Final, 2.0.42.Final
    • 2.2.12.Final
    • Core
    • None

    Description

      Our CI executes unit tests both with and without having "-Dtest.ipv6=true". (The specified value is passed to the system property "java.net.preferIPv6Addresses".).
      In some cases, we need to write unit tests that work only on IPv4 or only on IPv6. For example, unit tests for IPAddressAccessControlHandler.
      I would like to propose to add @IPv6Ignore and @IPv6Only annotation (like @ProxyIgnore annotation for unit tests which are not suitable to test with proxy).

      Attachments

        Activity

          People

            flaviarnn Flavia Rainone
            rhn-support-mmiura Masafumi Miura
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: