JustinTulloss / zeromq.node

Node.js bindings to the zeromq library
MIT License
1.65k stars 286 forks source link

Facing zmq router timeout issue #607

Closed ossdev07 closed 5 years ago

ossdev07 commented 5 years ago

Working on arm platform. Testing zeromq.node package with command npm install-test, but facing issue with timeout for zmq router. Error Facing 1) socket.error-callback should callback with error when not connected: Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

2) socket.router should handle the unroutable: Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

3) socket.zap should support plain: Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

I have tried setTimeout but it is not working for the same. Please suggest me solution to increase timeout for router. Thanks in advance.

ossdev07 commented 5 years ago

Can anyone please help me on this? Thanks.