Skip to content

Commit 37cf4c5

Browse files
committed
adding mark.flaky to dask tests
1 parent 3412713 commit 37cf4c5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pydra/engine/tests/test_node_task.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -991,6 +991,7 @@ def test_task_state_6a(plugin):
991991
assert odir.exists()
992992

993993

994+
@pytest.mark.flaky(reruns=2) # when dask
994995
def test_task_state_comb_1(plugin_dask_opt):
995996
""" task with the simplest splitter and combiner"""
996997
nn = fun_addtwo(name="NA").split(a=[3, 5], splitter="a").combine(combiner="a")
@@ -1279,6 +1280,7 @@ def test_task_state_comb_order():
12791280
# Testing caching for tasks with states
12801281

12811282

1283+
@pytest.mark.flaky(reruns=2) # when dask
12821284
def test_task_state_cachedir(plugin_dask_opt, tmpdir):
12831285
""" task with a state and provided cache_dir using pytest tmpdir"""
12841286
cache_dir = tmpdir.mkdir("test_task_nostate")

0 commit comments

Comments
 (0)