Skip to content

Commit c331364

Browse files
committed
changing assert for time of the execution (it was too strict)
1 parent 13e7988 commit c331364

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pydra/engine/tests/test_workflow.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1397,7 +1397,7 @@ def test_wf_nostate_cachelocations(plugin, tmpdir):
13971397

13981398
# checking execution time
13991399
assert t1 > 3
1400-
assert t2 < 0.1
1400+
assert t2 < 0.5
14011401

14021402
# checking if the second wf didn't run again
14031403
assert wf1.output_dir.exists()
@@ -1456,7 +1456,7 @@ def test_wf_state_cachelocations(plugin, tmpdir):
14561456

14571457
# checking execution time
14581458
assert t1 > 3
1459-
assert t2 < 0.1
1459+
assert t2 < 0.5
14601460

14611461
# checking all directories
14621462
assert wf1.output_dir
@@ -1524,7 +1524,7 @@ def test_wf_state_cachelocations_updateinp(plugin, tmpdir):
15241524

15251525
# checking execution time
15261526
assert t1 > 3
1527-
assert t2 < 0.3
1527+
assert t2 < 0.5
15281528

15291529
# checking all directories
15301530
assert wf1.output_dir
@@ -1755,7 +1755,7 @@ def test_wf_ndstate_cachelocations(plugin, tmpdir):
17551755

17561756
# checking execution time
17571757
assert t1 > 3
1758-
assert t2 < 0.1
1758+
assert t2 < 0.5
17591759

17601760
# checking all directories
17611761
assert wf1.output_dir.exists()
@@ -1817,7 +1817,7 @@ def test_wf_ndstate_cachelocations_updatespl(plugin, tmpdir):
18171817

18181818
# checking execution time
18191819
assert t1 > 3
1820-
assert t2 < 0.1
1820+
assert t2 < 0.5
18211821

18221822
# checking all directories
18231823
assert wf1.output_dir.exists()

0 commit comments

Comments
 (0)