linkchecker: disable flakey test
This commit is contained in:
parent
bf97ef57fe
commit
05739ad406
@ -34,12 +34,14 @@ buildPythonApplication rec {
|
|||||||
sed -i "s/'request.*'/'requests >= 2.2'/" setup.py
|
sed -i "s/'request.*'/'requests >= 2.2'/" setup.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# test_timeit2 is flakey, and depends sleep being precise to the milisecond
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
${lib.optionalString stdenv.isDarwin ''
|
${lib.optionalString stdenv.isDarwin ''
|
||||||
# network tests fails on darwin
|
# network tests fails on darwin
|
||||||
rm tests/test_network.py
|
rm tests/test_network.py
|
||||||
''}
|
''}
|
||||||
pytest --ignore=tests/checker/{test_telnet,telnetserver}.py -k 'not TestLoginUrl'
|
pytest --ignore=tests/checker/{test_telnet,telnetserver}.py \
|
||||||
|
-k 'not TestLoginUrl and not test_timeit2'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user