Skip to content

Commit

Permalink
Test propagation of threads from execution -> batchargs
Browse files Browse the repository at this point in the history
  • Loading branch information
maddenp-noaa committed Jul 22, 2024
1 parent ad40416 commit b309d80
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/uwtools/tests/drivers/test_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,12 +422,15 @@ def test_Driver__run_resources_pass(driverobj):
account = "me"
scheduler = "slurm"
walltime = "00:05:00"
driverobj._driver_config["execution"].update({"batchargs": {"walltime": walltime}})
driverobj._driver_config["execution"].update(
{"batchargs": {"threads": 4, "walltime": walltime}}
)
assert driverobj._run_resources == {
"account": account,
"rundir": driverobj._rundir,
"scheduler": scheduler,
"stdout": "runscript.concrete.out",
"threads": 4,
"walltime": walltime,
}

Expand Down

0 comments on commit b309d80

Please sign in to comment.