Skip to content
Permalink
Browse files

zyre_event selftest needs zyre_set_endpoint on some systems

  • Loading branch information...
Ptival committed Feb 13, 2019
1 parent 39faab4 commit 6260ef13af6fbfb03c0e86251b14651144903a3d
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/zyre_event.c
@@ -285,6 +285,8 @@ zyre_event_test (bool verbose)
zyre_t *node1 = zyre_new ("node1");
assert (node1);
zyre_set_header (node1, "X-HELLO", "World");
int rc = zyre_set_endpoint (node1, "inproc://zyre-node1");
assert (rc == 0);
// use gossiping instead of beaconing, suits Travis better
zyre_gossip_bind (node1, "inproc://gossip-hub");
if (verbose)
@@ -300,9 +302,11 @@ zyre_event_test (bool verbose)
assert (node2);
if (verbose)
zyre_set_verbose (node2);
rc = zyre_set_endpoint (node2, "inproc://zyre-node2");
assert (rc == 0);
// use gossiping instead of beaconing, suits Travis better
zyre_gossip_connect (node2, "inproc://gossip-hub");
int rc = zyre_start (node2);
rc = zyre_start (node2);
assert (rc == 0);
zyre_join (node2, "GLOBAL");

0 comments on commit 6260ef1

Please sign in to comment.
You can’t perform that action at this time.