From 6d84edafe6cf1765c4dff2f9881f13dd1490bd02 Mon Sep 17 00:00:00 2001 From: wpbonelli Date: Tue, 16 Apr 2024 09:04:06 -0400 Subject: [PATCH] test(framework): remove very verbose warnings on simulation failure (#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. --- autotest/framework.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/autotest/framework.py b/autotest/framework.py index a653ad6441a..89dd7fdb6c1 100644 --- a/autotest/framework.py +++ b/autotest/framework.py @@ -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(