- 24 Mar, 2019 1 commit
-
-
Simon Giesecke authored
Solution: remove s_send(more) and replace all uses
-
- 23 Mar, 2019 4 commits
-
-
Simon Giesecke authored
Solution: remove and add where needed
-
Simon Giesecke authored
Solution: convert streq/strneq into functions
-
Simon Giesecke authored
Solution: use unity assertions instead
-
Simon Giesecke authored
Solution: move test utilities to separate testutil library
-
- 18 Mar, 2019 2 commits
-
-
Luca Boccassi authored
Solution: move ephemeral port code to header and use it in both tests
-
Andreas Hasenack authored
Solution: only set supgroup to a valid gid
-
- 06 Feb, 2019 1 commit
-
-
Simon Giesecke authored
Solution: increase size to 256
-
- 27 May, 2018 1 commit
-
-
Simon Giesecke authored
Solution: apply naming style
-
- 15 May, 2018 1 commit
-
-
Simon Giesecke authored
Solution: fix types
-
- 14 May, 2018 1 commit
-
-
Simon Giesecke authored
Solution: Use fd_t
-
- 02 May, 2018 1 commit
-
-
Lionel Flandrin authored
Solution: Factor the code into a different file with a well defined API and add unit tests.
-
- 09 Mar, 2018 1 commit
-
-
Luca Boccassi authored
* Problem: TIPC availability check is too strict Solution: at build time only check if the API is available. In the tests do a first check and a skip if the functionality is not available. TIPC needs an in-tree but not loaded by default kernel module, tipc.ko to be loaded, which requires root, so it is unlikely to be available on any build system by default. This will allow most distributions to ship with TIPC support built in, and to avoid tests failure if the module is not there. * Problem: no Travis tests for TIPC Solution: mark one job with sudo: required and load the kernel module * Problem: CMake fails when test returns 77 (skip) Solution: set property to let it mark the test as skipped as intended
-
- 05 Mar, 2018 1 commit
-
-
Stefan Kaes authored
The zero copy decoding strategy implemented for 4.2.0 can lead to a large increase of main memory usage in some cases (I have seen one program go up to 40G from 10G after upgrading from 4.1.4). This commit adds a new option to contexts, called ZMQ_ZERO_COPY_RECV, which allows one to switch to the old decoding strategy.
-
- 02 Feb, 2018 1 commit
-
-
sigiesec authored
Solution: applied clang-format
-
- 22 Aug, 2017 1 commit
-
-
sigiesec authored
Solution: added test cases
-
- 19 Aug, 2017 1 commit
-
-
Luca Boccassi authored
Solution: use LIBZMQ_UNUSED where necessary
-
- 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!
-
- 06 Dec, 2016 1 commit
-
-
Luca Boccassi authored
Solution: add missing includes
-
- 27 Aug, 2016 1 commit
-
-
Luca Boccassi authored
Solution: ifdef is_ipv6_available to always return false if building on Windows XP, as it doesn't support the needed standard libc functions
-
- 23 Aug, 2016 2 commits
-
-
Luca Boccassi authored
This reverts commit 9adf20aa.
-
Thomas Braun authored
This is required as zmq_ctx_new calls WSAStartup. Without that the IPV6 socket creation always fails.
-
- 12 Jul, 2016 1 commit
-
-
Giuseppe Corbelli authored
Solution: correct path is ../src/windows.hpp. Also added automatic linking of iphlpapi library if required and using MSVC
-
- 02 May, 2016 1 commit
-
-
Luca Boccassi authored
Solution: before including internal headers, include platform.hpp so that the build time options are correctly applied to the included headers.
-
- 18 Apr, 2016 1 commit
-
-
Luca Boccassi authored
Solution: add helper function is_ipv6_available to testutil.hpp to test if IPv6 is available on the building platform. This function will try to open and bind a socket to ::1:*, as it's the ultimate way of knowing if, at least on the loopback, IPv6 is enabled.
-
- 13 Feb, 2016 2 commits
-
-
Luca Boccassi authored
Solution: increase SETTLE_TIME from 50ms to 300ms to avoid failing on slower environments like through Valgrind on slow VMs.
-
Luca Boccassi authored
Solution: include pthread.h in testutil.hpp, removed from test_shutdown_stress_tipc in an earlier commit
-
- 12 Feb, 2016 1 commit
-
-
Pieter Hintjens authored
Solution: it's a lot of work to define the tests in project.gyp so I did this using gsl to generate the JSON, from a small XML list of the test cases. To keep this, and the hundreds of .mk files, away from the root directory, I've moved the gyp files into builds/gyp, where you would run them. It all seems to work now. Next up, OS/X and Windows :)
-
- 28 Jan, 2016 1 commit
-
-
Constantin Rack authored
Solution: update to 2016
-
- 14 Sep, 2015 1 commit
-
-
Richard Newton authored
-
- 11 Sep, 2015 1 commit
-
-
Pieter Hintjens authored
This is due to the mangled include of platform.h, which was to make CMake happy. Solution: in CMakeLists.txt, define USING_CMAKE and then look for platform.h in current directory if that is defined, else look in ../src/ as one would expect.
-
- 11 Aug, 2015 2 commits
-
-
Pieter Hintjens authored
-
Pieter Hintjens authored
Solution: added to test_stream.cpp
-
- 28 Jul, 2015 1 commit
-
-
Brian Silverman authored
It's nice to be able to disable libzmq's internal timeout when there's another timeout in the test runner being used which gives nicer error messages.
-
- 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
-
- 26 Jan, 2015 1 commit
-
-
Richard Newton authored
-
- 23 Jan, 2015 1 commit
-
-
Pieter Hintjens authored
Symptom is that ZMQ_STREAM sockets in 4.1.0 and 4.1.1 generate zero sized messages on each new connection, unlike 4.0.x which did not do this. Person who made this commit also changed test cases so that contract breakage did not show. Same person was later banned for persistently poor form in CZMQ contributions. Solution: enable connect notifications on ZMQ_STREAM sockets using a new ZMQ_STREAM_NOTIFY setting. By default, socket does not deliver notifications, and behaves as in 4.0.x. Fixes #1316
-
- 22 Jan, 2015 1 commit
-
-
Pieter Hintjens authored
Solution: update for 2015 Fixes #1320
-
- 29 Dec, 2014 1 commit
-
-
DaiyuHurst authored
-