mirror of
https://github.com/ceph/ceph
synced 2025-02-18 00:17:37 +00:00
tests: need 1024 files per process not 100024
Signed-off-by: Loic Dachary <ldachary@redhat.com>
This commit is contained in:
parent
27c1982757
commit
f36bd0e967
@ -43,7 +43,7 @@ check-local:: all
|
||||
# exercise cli tools
|
||||
u=`ulimit -u` ; \
|
||||
p=`expr $(shell nproc) / 2` ; \
|
||||
n=`expr $$p \* 100024` ; \
|
||||
n=`expr $$p \* 1024` ; \
|
||||
if ${CHECK_ULIMIT} && echo ${MAKEFLAGS} | grep --quiet -e -j && test $$u -lt $$n ; then \
|
||||
echo "ulimit -u is $$u which is lower than $$n = $$p / 2 * 1024" ; \
|
||||
echo "If running make -j$$p check you will likely exceed this limit" ; \
|
||||
|
Loading…
Reference in New Issue
Block a user