diff --git a/integtest/large_trigger_record_test.py b/integtest/large_trigger_record_test.py index b8c9760..e6324c2 100644 --- a/integtest/large_trigger_record_test.py +++ b/integtest/large_trigger_record_test.py @@ -219,10 +219,12 @@ def test_data_files(run_nanorc): local_event_count_tolerance = expected_event_count_tolerance fragment_check_list = [triggercandidate_frag_params] current_test = os.environ.get("PYTEST_CURRENT_TEST") - match_obj = re.search(r".*\[(.+)-run_nanorc0\].*", current_test) - if match_obj: - current_test = match_obj.group(1) - if current_test == "TRSize_125PercentOfMaxFileSize": + # 30-Dec-2025, KAB: modified the following "if" statement to check if the desired + # configuration name is contained in the current test name (instead of using an "if" + # clause that tests if the first part of the current test name is *equal* to the config + # name). This change is needed now because current test name has more information + # in it, and a simple comparison no longer works. + if "TRSize_125PercentOfMaxFileSize" in current_test: fragment_check_list.append(wibeth_frag_125pct_params) else: fragment_check_list.append(wibeth_frag_55pct_params)