[zeromq-dev] test_filter_ipc failure

Pieter Hintjens ph at imatix.com
Fri Jan 3 10:52:49 CET 2014


Nice changes. I merged the pull request already.

On Fri, Jan 3, 2014 at 1:45 AM, Matt Connolly <matt.connolly at me.com> wrote:
> Hi,
>
> I’m seeing the test_filter_ipc test fail on Mac OS X and SmartOS (Solaris). I see it passes on linux in the travis tests. Other tests are passing on both platforms.
>
> After digging in to the code, I can see that the ipc:/ endpoint is starting with “@“ which on linux is converted to a NUL char and has a special meaning where the socket is “abstract” and the name does not appear in the file system. I assume this is linux specific as I haven’t found any Mac, BSD or Solaris
>
> If I change the endpoint to “ipc://test_filter_ipc.sock” it works. I also notice that it’s using ZMQ_PAIR sockets, which according to the docs are only for inproc: transports, so I’ve changed this to ZMQ_DEALER, which also matches usage of the “bounce()” test function.
>
> I’ve updated the test to not use an abstract socket, in https://github.com/zeromq/libzmq/pull/804
>
> Was there a reason it was done on an abstract socket?
>
> Cheers,
> Matt
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev



More information about the zeromq-dev mailing list