Skip to content

Commit 10bf7bf

Browse files
Apply suggestions from code review
Co-authored-by: Michael Lueken <63728921+MichaelLueken@users.noreply.github.com>
1 parent 6d4b634 commit 10bf7bf

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

data_environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: srw_app
1+
name: get_data
22
channels:
33
- conda-forge
44
- ufs-community

tests/WE2E/monitor_jobs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
update_expt_status_parallel, print_WE2E_summary
1818

1919
def monitor_jobs(expts_dict: dict, monitor_file: str = '', procs: int = 1,
20-
mode: str = 'continuous', delay: int = 10, debug: bool = False) -> str:
20+
mode: str = 'continuous', delay: int = 5, debug: bool = False) -> str:
2121
"""Monitors and runs jobs for the specified experiment using Rocoto
2222
2323
Args:
@@ -180,7 +180,7 @@ def setup_logging(logfile: str = "log.run_WE2E_tests", debug: bool = False) -> N
180180
help='YAML-format file specifying the information of jobs to be run; '\
181181
'for an example file, see monitor_jobs.yaml', required=True)
182182
parser.add_argument('--delay', type=int,
183-
help='Pause this number of seconds between calls to rocotorun', default=10)
183+
help='Pause this number of seconds between calls to rocotorun', default=5)
184184
parser.add_argument('-p', '--procs', type=int,
185185
help='Run resource-heavy tasks (such as calls to rocotorun) in parallel, '\
186186
'with provided number of parallel tasks', default=1)

tests/WE2E/run_we2e_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def run_we2e_tests(homedir, args) -> None:
5050

5151
# Derecho requires long delay between calls to rocotorun due to system-level cacheing of
5252
# job statuses
53-
if machine=="DERECHO":
53+
if machine=="derecho":
5454
if args.delay < 60:
5555
logging.info("Derecho requires 60 second delay between calls to rocotorun")
5656
args.delay=60

0 commit comments

Comments
 (0)