Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3884

Enable BROADCAST for UDPBroadcaster unit tests

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3.14
    • Fix Version/s: None
    • Component/s: cache
    • Labels:
      None
    • Environment:

      OS X

    • Flags:
      Patch

      Description

      It seems that broadcastEncryptedUDP and broadcastUDP test are not working on OS X and most likely other *IX based systems due to the fact that the loopback network interface (e.g. lo0) is not having a BROADCAST option [1].

      A possible workaround patch for the unit tests is attached.

      [1] See answer to: http://serverfault.com/questions/554503/how-do-i-add-a-broadcast-ip-to-the-loopback-interface-under-os-x-using-ifconfig

        Attachments

        1. broadcasttest.patch
          3 kB
          Philipp Suter

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Philipp Suter Philipp Suter
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: