Skip to content

Commit

Permalink
linkchecker: disable flakey test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Ringer committed Sep 29, 2020
1 parent bf97ef5 commit 05739ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/tools/networking/linkchecker/default.nix
Expand Up @@ -34,12 +34,14 @@ buildPythonApplication rec {
sed -i "s/'request.*'/'requests >= 2.2'/" setup.py
'';

# test_timeit2 is flakey, and depends sleep being precise to the milisecond
checkPhase = ''
${lib.optionalString stdenv.isDarwin ''
# network tests fails on darwin
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 = {
Expand Down

0 comments on commit 05739ad

Please sign in to comment.