File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,9 @@ def get_executor(self) -> str:
19
19
return "slurm"
20
20
21
21
def get_executor_settings (self ) -> Optional [ExecutorSettingsBase ]:
22
- return ExecutorSettings (init_seconds_before_status_checks = 1 )
22
+ return ExecutorSettings (init_seconds_before_status_checks = 2 ,
23
+ seconds_between_status_checks = 5 ,
24
+ max_status_checks_per_second = 1 )
23
25
24
26
25
27
class TestEfficiencyReport (snakemake .common .tests .TestWorkflowsLocalStorageBase ):
@@ -38,13 +40,13 @@ def test_simple_workflow(self, tmp_path):
38
40
39
41
# The efficiency report is created in the
40
42
# current working directory
41
- pattern = re .compile (r"efficiency_report_[\w-]+\.log " )
43
+ pattern = re .compile (r"efficiency_report_[\w-]+\.csv " )
42
44
report_found = False
43
45
44
46
# Check both cwd and the tmp_path for the report file -
45
47
# the CI seems lost.
46
48
for search_dir in [Path .cwd (), tmp_path ]:
47
- for filepath in search_dir .glob ("efficiency_report_*.log " ):
49
+ for filepath in search_dir .glob ("efficiency_report_*.csv " ):
48
50
if pattern .match (filepath .name ):
49
51
report_found = True
50
52
# Verify it's not empty
You can’t perform that action at this time.
0 commit comments