@@ -2074,7 +2074,7 @@ def test_wf_nostate_cachelocations(plugin, tmpdir):
2074
2074
# for win and dask/slurm the time for dir creation etc. might take much longer
2075
2075
if not sys .platform .startswith ("win" ) and plugin == "cf" :
2076
2076
assert t1 > 2
2077
- assert t2 < 0.5
2077
+ assert t2 < 1
2078
2078
2079
2079
# checking if the second wf didn't run again
2080
2080
assert wf1 .output_dir .exists ()
@@ -2132,7 +2132,7 @@ def test_wf_nostate_cachelocations_a(plugin, tmpdir):
2132
2132
# checking execution time (second one should be quick)
2133
2133
assert t1 > 2
2134
2134
# testing relative values (windows or slurm takes much longer to create wf itself)
2135
- assert t2 < 0.5
2135
+ assert t2 < 1
2136
2136
2137
2137
# checking if both wf.output_dir are created
2138
2138
assert wf1 .output_dir .exists ()
@@ -2192,7 +2192,7 @@ def test_wf_nostate_cachelocations_b(plugin, tmpdir):
2192
2192
if not sys .platform .startswith ("win" ) and plugin == "cf" :
2193
2193
# checking execution time
2194
2194
assert t1 > 2
2195
- assert t2 < 0.5
2195
+ assert t2 < 1
2196
2196
2197
2197
# checking if the second wf didn't run again
2198
2198
assert wf1 .output_dir .exists ()
@@ -2251,7 +2251,7 @@ def test_wf_nostate_cachelocations_setoutputchange(plugin, tmpdir):
2251
2251
# checking execution time (the second wf should be fast, nodes do not have to rerun)
2252
2252
assert t1 > 2
2253
2253
# testing relative values (windows or slurm takes much longer to create wf itself)
2254
- assert t2 < 0.5
2254
+ assert t2 < 1
2255
2255
2256
2256
# both wf output_dirs should be created
2257
2257
assert wf1 .output_dir .exists ()
@@ -2307,7 +2307,7 @@ def test_wf_nostate_cachelocations_setoutputchange_a(plugin, tmpdir):
2307
2307
# checking execution time (the second wf should be fast, nodes do not have to rerun)
2308
2308
assert t1 > 2
2309
2309
# testing relative values (windows or slurm takes much longer to create wf itself)
2310
- assert t2 < 0.5
2310
+ assert t2 < 1
2311
2311
2312
2312
# both wf output_dirs should be created
2313
2313
assert wf1 .output_dir .exists ()
@@ -2489,7 +2489,7 @@ def test_wf_nostate_cachelocations_wftaskrerun_propagateFalse(plugin, tmpdir):
2489
2489
if not sys .platform .startswith ("win" ) and plugin == "cf" :
2490
2490
# checking the time
2491
2491
assert t1 > 2
2492
- assert t2 < 0.5
2492
+ assert t2 < 1
2493
2493
2494
2494
# tasks should not be recomputed
2495
2495
assert len (list (Path (cache_dir1 ).glob ("F*" ))) == 2
@@ -2704,7 +2704,7 @@ def test_wf_state_cachelocations(plugin, tmpdir):
2704
2704
if not sys .platform .startswith ("win" ) and plugin == "cf" :
2705
2705
# checking the execution time
2706
2706
assert t1 > 2
2707
- assert t2 < 0.5
2707
+ assert t2 < 1
2708
2708
2709
2709
# checking all directories
2710
2710
assert wf1 .output_dir
@@ -2840,7 +2840,7 @@ def test_wf_state_cachelocations_updateinp(plugin, tmpdir):
2840
2840
if not sys .platform .startswith ("win" ) and plugin == "cf" :
2841
2841
# checking the execution time
2842
2842
assert t1 > 2
2843
- assert t2 < 0.5
2843
+ assert t2 < 1
2844
2844
2845
2845
# checking all directories
2846
2846
assert wf1 .output_dir
@@ -3068,7 +3068,7 @@ def test_wf_ndstate_cachelocations(plugin, tmpdir):
3068
3068
if not sys .platform .startswith ("win" ) and plugin == "cf" :
3069
3069
# checking the execution time
3070
3070
assert t1 > 2
3071
- assert t2 < 0.5
3071
+ assert t2 < 1
3072
3072
3073
3073
# checking all directories
3074
3074
assert wf1 .output_dir .exists ()
@@ -3194,7 +3194,7 @@ def test_wf_ndstate_cachelocations_updatespl(plugin, tmpdir):
3194
3194
if not sys .platform .startswith ("win" ) and plugin == "cf" :
3195
3195
# checking the execution time
3196
3196
assert t1 > 2
3197
- assert t2 < 0.5
3197
+ assert t2 < 1
3198
3198
3199
3199
# checking all directories
3200
3200
assert wf1 .output_dir .exists ()
@@ -3310,7 +3310,7 @@ def test_wf_nostate_runtwice_usecache(plugin, tmpdir):
3310
3310
if not sys .platform .startswith ("win" ) and plugin == "cf" :
3311
3311
# checking the execution time
3312
3312
assert t1 > 2
3313
- assert t2 < 0.5
3313
+ assert t2 < 1
3314
3314
3315
3315
3316
3316
def test_wf_state_runtwice_usecache (plugin , tmpdir ):
@@ -3359,7 +3359,7 @@ def test_wf_state_runtwice_usecache(plugin, tmpdir):
3359
3359
if not sys .platform .startswith ("win" ) and plugin == "cf" :
3360
3360
# checking the execution time
3361
3361
assert t1 > 2
3362
- assert t2 < 0.5
3362
+ assert t2 < 1
3363
3363
3364
3364
3365
3365
@pytest .fixture
0 commit comments