- 16 Mar, 2018 1 commit
-
-
Simon Giesecke authored
Solution: migrate to unity, and split test cases
-
- 02 Feb, 2018 1 commit
-
-
sigiesec authored
Solution: applied clang-format
-
- 01 May, 2017 1 commit
-
-
Luca Boccassi authored
Solution: use ZMQ_LAST_ENDPOINT in most places. This alllows running tests in paralle, and on over-booked shared machines where many of the ports would be already in use. Keep 3 tests with an hardcoded port, as there are some code paths that require it (eg: connect before bind), but list those ports in tests/testutil.hpp as macros so that they do not overlap and still allow parallel runs. These changes were inspired by a patch uploaded to Ubuntu by the package maintainer, Steve Langasek <steve.langasek@ubuntu.com>. Thank you Steve!
-
- 13 Feb, 2016 1 commit
-
-
Luca Boccassi authored
Solution: add msleep (SETTLE_TIME) to test_immediate, test_spec_rep and test_spec_router after the sockets are created and connected to avoid failing when running in slower environment like through Valgrind in underpowered VMs.
-
- 28 Jan, 2016 1 commit
-
-
Constantin Rack authored
Solution: update to 2016
-
- 02 Jun, 2015 1 commit
-
-
Pieter Hintjens authored
Of course people still "can" distributed the sources under the LGPLv3. However we provide COPYING.LESSER with additional grants. Solution: specify these grants in the header of each source file.
-
- 30 Jan, 2015 1 commit
-
-
Pieter Hintjens authored
Solution: raise timeouts from 100-150 msec to 250 msec
-
- 22 Jan, 2015 1 commit
-
-
Pieter Hintjens authored
Solution: update for 2015 Fixes #1320
-
- 02 Jan, 2014 1 commit
-
-
Pieter Hintjens authored
-
- 20 Dec, 2013 1 commit
-
-
Pieter Hintjens authored
- was not waiting long enough at socket close - increased to 50 msec
-
- 06 Nov, 2013 1 commit
-
-
Pieter Hintjens authored
- used msleep (10) in most places instead of zmq_sleep (1) - may cause failures on slower machines - to change, modify SETTLE_TIME in testutil.h - tested down to 1 msec on fast boxes
-
- 20 Sep, 2013 1 commit
-
-
Pieter Hintjens authored
* The ZMQ_CONNECT_DELAY option was renamed to ZMQ_IMMEDIATE
-
- 18 Sep, 2013 1 commit
-
-
Markus Rothe authored
-
- 15 Sep, 2013 1 commit
-
-
Pieter Hintjens authored
* Removed redundant Z85 code and include files from project * Simplified use of headers in test cases (now they all just use testutil.hpp) * Export zmq_z85_encode() and zmq_z85_decode() in API * Added man pages for these two functions
-
- 17 Aug, 2013 1 commit
-
-
Richard Newton authored
-
- 21 May, 2013 1 commit
-
-
Pieter Hintjens authored
-
- 12 Mar, 2013 1 commit
-
-
Pieter Hintjens authored
-
- 31 Jan, 2013 1 commit
-
-
Pieter Hintjens authored
* Removed or truncated sleeps so the tests run faster * Removed dependencies on zmq_utils * Rewrote a few tests that were confusing * Minor code cleanups
-
- 30 Jan, 2013 1 commit
-
-
Pieter Hintjens authored
-
- 17 Jan, 2013 1 commit
-
-
MinRK authored
in order to avoid logical collisions with pre-existing notions of context destruction in bindings (czmq, pyzmq).
-
- 08 Jan, 2013 3 commits
-
-
Pieter Hintjens authored
This reverts commit da0efaa8.
-
Pieter Hintjens authored
-
Pieter Hintjens authored
-
- 30 Nov, 2012 1 commit
-
-
Ian Barber authored
Simplify the test connect delay test script, removing the threads and moving to a serialised version. AFAICS this should provide the same test, but without the race conditions that happened with the previous test.
-
- 25 Oct, 2012 1 commit
-
-
Martin Hurton authored
Ref: https://zeromq.jira.com/browse/LIBZMQ-452
-
- 18 Sep, 2012 1 commit
-
-
Joshua Gao authored
This test case uses pthreads, but doesn't include the header.
-
- 06 Sep, 2012 1 commit
-
-
Arthur O'Dwyer authored
This change makes sure that even if the tests are built in a "release" configuration (with optimizations and NDEBUG turned on), the assertions won't get compiled out of the tests themselves. The C standard guarantees that the most recent inclusion of <assert.h> is the one that counts, so it's important that the "#undef NDEBUG/#include <assert.h>" come as the last thing in the block of header files. "testutil.hpp" includes <assert.h>, so I've left <assert.h> out of any test that #includes "testutil.hpp", just for the sake of brevity.
-
- 04 Sep, 2012 1 commit
-
-
Ian Barber authored
Hopefully fixed LIBZMQ-427 - there was a slight typo in the init_address refactor. The encoder refactoring had also broken pgm_sender and receiver, but just required updating to use the new functions.
-
- 27 Aug, 2012 1 commit
-
-
Arthur O'Dwyer authored
-
- 13 Jun, 2012 2 commits
-
-
Ian Barber authored
For sleep and usleep
-
Ian Barber authored
-
- 12 Jun, 2012 9 commits
-
-
Ian Barber authored
This patch, salvaged from a trainwreck accidental merge earlier, adds a new sockopt, ZMQ_DELAY_ATTACH_ON_CONNECT which prevents a end point being available to push messages to until it has fully connected, making connect work more like bind. This also applies to reconnecting sockets, which may cause message loss of in-queue messages, so it is sensible to use this in conjunction with a low HWM and potentially an alternative acknowledgement path. Notes on most of the individual commits can be found the repository log.
-
Ian Barber authored
Revert "After speaking with Ben Gray and the discussion on the mailing list, this is an attempt to create a sockopt to allow connecting pipes to not immediately be available for traffic. The problem is in a PUSH to many PULL situation, where there is a connect to a PULL which is not there. This connect will immediately create a pipe (unlike bind), and traffic will be load balanced to that pipe. This means if there is a persistently unavailable end point then the traffic will queue until HWM is hit, and older messages will be lost." This reverts commit fe3fb419.
-
Ian Barber authored
Revert "Fix a number of whitespace issues in various parts of the code, add validation to most calls on the test and take a first stab at implementing the reconnection pipe blocking." This reverts commit 6f6466f0.
-
Ian Barber authored
This reverts commit 0b3478d6.
-
Ian Barber authored
This reverts commit d8f3487e.
-
Ian Barber authored
This reverts commit 029d3dfa.
-
Ian Barber authored
This reverts commit 33459029, reversing changes made to 889b0e6f.
-
Ian Barber authored
This reverts commit 4aa5ba3d. Unintentional merge
-
Ian Barber authored
This commit removes the countdown flag and adds a set to store the pipes that are currently being disconnected.
-