Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions integtest/large_trigger_record_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down