Skip to content

Commit b05ab3a

Browse files
emmatypingJukkaL
authored andcommitted
Put daemon tests in the slow lane (python#5995)
The daemon tests run a bit slow with all the overhead of starting/stopping multiple times, so we should classify them as slow.
1 parent 288b6bb commit b05ab3a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

runtests.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@
2020
TYPESHED = 'TypeshedSuite'
2121
PEP561 = 'TestPEP561'
2222
EVALUATION = 'PythonEvaluation'
23+
DAEMON = 'testdaemon'
2324

24-
ALL_NON_FAST = [CMDLINE, SAMPLES, TYPESHED, PEP561, EVALUATION]
25+
ALL_NON_FAST = [CMDLINE, SAMPLES, TYPESHED, PEP561, EVALUATION, DAEMON]
2526

2627
# We split the pytest run into three parts to improve test
2728
# parallelization. Each run should have tests that each take a roughly similiar
@@ -36,7 +37,7 @@
3637
# Test cases that invoke mypy (with small inputs)
3738
'pytest-cmdline': 'pytest -k "%s"' % ' or '.join([CMDLINE, EVALUATION]),
3839
# Test cases that may take seconds to run each
39-
'pytest-slow': 'pytest -k "%s"' % ' or '.join([SAMPLES, TYPESHED, PEP561]),
40+
'pytest-slow': 'pytest -k "%s"' % ' or '.join([SAMPLES, TYPESHED, PEP561, DAEMON]),
4041
}
4142

4243
# Stop run immediately if these commands fail

0 commit comments

Comments
 (0)