Skip to content

Commit 7a7b1b3

Browse files
committed
adding pytest-rerunfailures and reruning the first boutique test (fails sometimes on travis)
1 parent d1c386d commit 7a7b1b3

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

pydra/engine/tests/test_boutiques.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
@no_win
2727
@need_bosh_docker
28+
@pytest.mark.flaky(reruns=2)
2829
@pytest.mark.parametrize(
2930
"maskfile", ["test_brain.nii.gz", "test_brain", "test_brain.nii"]
3031
)

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ test_requires =
3333
pytest-cov
3434
pytest-env
3535
pytest-xdist
36+
pytest-rerunfailures
3637
codecov
3738
numpy
3839
psutil
@@ -66,6 +67,7 @@ test =
6667
pytest-cov
6768
pytest-env
6869
pytest-xdist
70+
pytest-rerunfailures
6971
codecov
7072
numpy
7173
pyld

0 commit comments

Comments
 (0)