Skip to content

Commit

Permalink
consider potential alternate log name for cwltool.job module
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed Dec 19, 2024
1 parent 83169b5 commit e41cd24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/processes/test_wps_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,15 +206,15 @@ def test_stdout_stderr_logging_for_commandline_tool_success(caplog):
# cwltool call with reference to the command and stdout/stderr redirects
assert re.match(
r".*"
rf"cwltool:job.* \[job {process.id}(_[0-9]+)?\].*echo \\\n"
rf"(\[cwltool\]|cwltool:job.*) \[job {process.id}(_[0-9]+)?\].*echo \\\n"
r"\s+'Dummy message' \> [\w\-/\.]+/stdout\.log 2\> [\w\-/\.]+/stderr\.log\n"
r".*",
log_data,
re.MULTILINE | re.DOTALL
), f"Command Information with Log redirects expected in:\n{log_data}"
assert re.match(
r".*"
rf"\[cwltool\] \[job {process.id}(_[0-9]+)?\] completed success",
rf"(\[cwltool\]|cwltool:job.*) \[job {process.id}(_[0-9]+)?\] completed success",
log_data,
re.MULTILINE | re.DOTALL
), f"Information about successful job expected in:\n{log_data}"
Expand Down

0 comments on commit e41cd24

Please sign in to comment.