git.iko.soy/typeable/nixpkgs
on master help sign in
linkchecker: disable flakey test
commit05739ad406391d7f69d37eb9b85bef8e02fa3279 authorJonathan Ringer <jonringer117@gmail.com> dateTue 29 Sep 2020, 09:29 (6 years ago) parentbf97ef5
1 file changed+3−1
pkgs/tools/networking/linkchecker/default.nix+3−1
pkgs/tools/networking/linkchecker/default.nix+3−1
@@ -34,12 +34,14 @@ buildPythonApplication rec {
3434 sed -i "s/'request.*'/'requests >= 2.2'/" setup.py
3535 '';
3636
37+ # test_timeit2 is flakey, and depends sleep being precise to the milisecond
3738 checkPhase = ''
3839 ${lib.optionalString stdenv.isDarwin ''
3940 # network tests fails on darwin
4041 rm tests/test_network.py
4142 ''}
42− pytest --ignore=tests/checker/{test_telnet,telnetserver}.py -k 'not TestLoginUrl'
43+ pytest --ignore=tests/checker/{test_telnet,telnetserver}.py \
44+ -k 'not TestLoginUrl and not test_timeit2'
4345 '';
4446
4547 meta = {