Skip to content
This repository has been archived by the owner on May 23, 2019. It is now read-only.

TestRouter

Wes edited this page May 12, 2014 · 1 revision

Router Testing

  1. start the router in debug mode:

    $ sudo -u cif /opt/cif/bin/cif-router -d
    [2014-04-19T15:41:04,481Z][INFO]: frontend started on: tcp://*:4961
    [2014-04-19T15:41:04,486Z][INFO]: publisher started on: tcp://*:4963
    [2014-04-19T15:41:04,487Z][INFO]: router started...
    ^C
  2. in a separate terminal, test connectivity to the router using the client ping flag:

    $ cif -p
    pinging: tcp://localhost:4961...
    roundtrip: 0.332042 ms
    roundtrip: 0.345236 ms
    roundtrip: 0.391154 ms
    roundtrip: 0.371904 ms
    done...
Clone this wiki locally