Project

General

Profile

Feature #4363

mslookup_client_mdns_test: add stubs, so it works without multicast

Added by osmith about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Low
Assignee:
-
Target version:
-
Start date:
01/14/2020
Due date:
% Done:

0%


Description

The OBS build environment does not support multicast. To make the build of the debian packages work, the test gets skipped now:

    if (!is_multicast_enabled()) {
        fprintf(stderr, "WARNING: multicast is disabled, skipping the test! (OS#4361)");
        return 77;
    }

https://git.osmocom.org/osmo-hlr/tree/tests/mslookup/mslookup_client_mdns_test.c?id=5e5ce4aef29a9cb6dcc5f811899c92b61a9995d6#n227

The test is still running in gerrit-verification and master-builds, and when building locally on a typical dev machine.

After mentioning this in the meeting today, it was recommended to create an issue about it, to possibly replace the multicast code path with a unicast code path as fallback (or add other stubs to make it work).


Related issues

Related to Distributed GSM - Bug #4361: OBS failures after merging osmo-hlr patchesResolved01/13/2020

History

#1 Updated by osmith about 1 month ago

  • Related to Bug #4361: OBS failures after merging osmo-hlr patches added

#2 Updated by osmith about 1 month ago

  • Description updated (diff)

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)