Skip to content

Commit

Permalink
test(framework): remove very verbose warnings on simulation failure (M…
Browse files Browse the repository at this point in the history
…ODFLOW-USGS#1731)

Showing the end of the list file in case of simulation failure makes CI logs extremely verbose, making it difficult to scroll/read. We upload failed test outputs as artifacts, so the list file can be inspected that way if needed.
  • Loading branch information
wpbonelli authored Apr 16, 2024
1 parent e645e17 commit 6d84eda
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions autotest/framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -660,16 +660,6 @@ def _run_sim_or_model(
else:
success = True

lst_file_path = Path(workspace) / "mfsim.lst"
if (
"mf6" in target.name
and not success
and lst_file_path.is_file()
):
warn(
"MODFLOW 6 listing file ended with: \n"
+ get_mfsim_lst_tail(lst_file_path)
)
except Exception:
success = False
warn(
Expand Down

0 comments on commit 6d84eda

Please sign in to comment.