Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-4707 Fix cold standby integration tests
  3. OAK-4801

Add test for DNS resolution failure in ClientIpFilter

    XMLWordPrintableJSON

Details

    • Technical task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • Segment Tar 0.0.12
    • segment-tar
    • None

    Description

      Per frm's suggestion, we could refactor a bit ClientIpFilter and extract the calls to InetAddress.getByName() into their own interface, say InetAddressResolver. We could then write a test with bogus implementation of InetAddressResolver and assert the behaviour of the ClientIpFilter.

      Attachments

        1. OAK-4801-01.patch
          12 kB
          Andrei Dulceanu

        Activity

          People

            frm Francesco Mari
            adulceanu Andrei Dulceanu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: