pytest-timeout doesn't work with pytest-rerunfailures.
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- testing-qa
Direzione di ricerca
Inizia eseguendo l’esempio minimo con pytest 3.0.7, pytest-rerunfailures 2.1.0 e pytest-timeout 1.0.0 per osservare come si comporta il timeout tra i tentativi. Traccia l’interazione tra i due plugin e conferma che un test che rimane in attesa per 10 secondi con un timeout di 2 secondi viene interrotto anche quando è contrassegnato per essere rieseguito.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Original report by Anonymous.
pytest-timeout plugin doesn't work when pytest-rerunfailures is used. Please see a example at the end of this bug report
-
pip listof the virtual environment you are using
alabaster (0.7.10)
apipkg (1.4)
appnope (0.1.0)
astroid (1.4.9)
Babel (2.4.0)
bleach (1.5.0)
CommonMark (0.5.4)
coverage (4.3.4)
cycler (0.10.0)
decorator (4.0.11)
docopt (0.6.2)
docutils (0.13.1)
entrypoints (0.2.2)
execnet (1.4.1)
flake8 (3.3.0)
html5lib (0.999)
imagesize (0.7.1)
ipykernel (4.6.1)
ipyparallel (6.0.2)
ipython (6.0.0)
ipython-genutils (0.2.0)
ipywidgets (6.0.0)
isort (4.2.5)
jedi (0.10.2)
Jinja2 (2.9.6)
joblib (0.11)
jsonschema (2.6.0)
jupyter (1.0.0)
jupyter-client (5.0.1)
jupyter-console (5.1.0)
jupyter-core (4.3.0)
lazy-object-proxy (1.2.2)
MarkupSafe (0.23)
matplotlib (2.0.2)
mccabe (0.6.1)
mistune (0.7.4)
nbconvert (5.1.1)
nbformat (4.3.0)
nose (1.3.7)
notebook (5.0.0)
numpy (1.12.1)
pandas (0.20.1)
pandocfilters (1.4.1)
pexpect (4.2.1)
pickleshare (0.7.4)
pip (9.0.1)
prompt-toolkit (1.0.14)
psycopg2 (2.7.1)
ptyprocess (0.5.1)
py (1.4.33)
pyarrow (0.2.0)
pycodestyle (2.3.1)
pyflakes (1.5.0)
Pygments (2.2.0)
pylint (1.6.4)
pyparsing (2.1.4)
pytest (3.0.7)
pytest-cache (1.0)
pytest-instafail (0.3.0)
pytest-rerunfailures (2.1.0)
pytest-timeout (1.0.0)
python-dateutil (2.6.0)
pytz (2017.2)
pyzmq (16.0.2)
qtconsole (4.3.0)
recommonmark (0.4.0)
requests (2.14.2)
scikit-learn (0.18.1)
scipy (0.19.0)
seaborn (0.7.1)
setuptools (27.2.0)
simplegeneric (0.8.1)
simplejson (3.10.0)
six (1.10.0)
snakeviz (0.4.1)
snowballstemmer (1.2.1)
Sphinx (1.5.6)
sphinx-rtd-theme (0.2.4)
SQLAlchemy (1.1.9)
terminado (0.6)
testpath (0.3)
tornado (4.5.1)
traitlets (4.3.2)
typing (3.6.1)
wcwidth (0.1.7)
wheel (0.29.0)
widgetsnbextension (2.0.0)
wrapt (1.10.10)
- pytest and operating system versions
OS : OSX El Captian
pytest --version
This is pytest version 3.0.7,
pytest-instafail-0.3.0 at
pytest-rerunfailures-2.1.0 at
pytest-timeout-1.0.0 at
- Minimal example if possible
import pytest
import time
@pytest.mark.timeout(2)
@pytest.mark.flaky(3) # comment this line to see the test fail as expected
def test_new():
time.sleep(10)
assert True
- Lingua principale
- Python
- Stelle
- 258
- Fork
- 69
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di pytest-dev/pytest-timeout
-
PR #200 introduced breaking change - `timeout` value in config is incompatible with older versions Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
pytest-dev/pytest-timeout#203 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
pytest-dev/pytest-timeout#190 · 9 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
pytest-dev/pytest-timeout#189 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
pytest-dev/pytest-timeout#181 · 4 reazioni ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
pytest-dev/pytest-timeout#178 · 1 commento ·
Tutte le issue di pytest-dev/pytest-timeout
Issue simili
-
bug confirmed issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
open-webui/open-webui#30750 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100