pytest-timeout doesn't work with pytest-rerunfailures.
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- python
- 領域
- testing-qa
調査の方向性
まず、pytest 3.0.7、pytest-rerunfailures 2.1.0、pytest-timeout 1.0.0 を使って最小限の例を実行し、再試行時にタイムアウトがどのように動作するかを観察します。2つのプラグイン間の相互作用を追跡し、2秒のタイムアウトで10秒間スリープするテストが、再実行対象としてマークされている場合でも中断されることを確認します。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Python
- スター
- 258
- フォーク
- 69
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pytest-dev/pytest-timeout のほかの issue
-
PR #200 introduced breaking change - `timeout` value in config is incompatible with older versions オープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
pytest-dev/pytest-timeout#203 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
pytest-dev/pytest-timeout#190 · コメント 9 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
pytest-dev/pytest-timeout#189 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
pytest-dev/pytest-timeout#181 · リアクション 4 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
pytest-dev/pytest-timeout#178 · コメント 1 件 ·
pytest-dev/pytest-timeout の issue をすべて見る
似ている issue
-
area: harness bug status: needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Human-Agent-Society/reef#625 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
learningequality/kolibri#15351 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Name consistency オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
eellak/triplestore#65 · コメント 1 件 ·