Closed afarbos closed 8 years ago
Platform? Also does make check
fail as well?
Platform: centos7
I assume you wanted to say make test
and yes.
No I meant make check (autotools), I'm not familiar with "ctest", and I'm not sure we support it. What steps and commands are you using to build, precisely, so that I can try to reproduce?
same issue with autotools.
# make check
...
# cat tests/test-suite.log
========================================
zeromq 4.0.4: tests/test-suite.log
========================================
# TOTAL: 43
# PASS: 42
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test_many_sockets
=======================
lt-test_many_sockets: ../../libzmq-v4.0.4/tests/test_many_sockets.cpp:40: void test_system_max(): Assertion `(int) sockets.size () < no_of_sockets' failed.
Try setting a higher ulimit, the default on CentOS might be too low:
ulimit -n 64000
Works, thanks.
Does this number was random ?
Hard limit is usually 65k, so we set 64k to be sure. I'm working on a fix to have the tests do it themselves when needed.
ok thanks.
Hi,
When I am calling
ctest
after building I always finish with an exception on the test test_many_sockets. I tried all releases from 4.0.4 to 4.0.7.output: