File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -219,10 +219,12 @@ def test_data_files(run_nanorc):
219219 local_event_count_tolerance = expected_event_count_tolerance
220220 fragment_check_list = [triggercandidate_frag_params ]
221221 current_test = os .environ .get ("PYTEST_CURRENT_TEST" )
222- match_obj = re .search (r".*\[(.+)-run_nanorc0\].*" , current_test )
223- if match_obj :
224- current_test = match_obj .group (1 )
225- if current_test == "TRSize_125PercentOfMaxFileSize" :
222+ # 30-Dec-2025, KAB: modified the following "if" statement to check if the desired
223+ # configuration name is contained in the current test name (instead of using an "if"
224+ # clause that tests if the first part of the current test name is *equal* to the config
225+ # name). This change is needed now because current test name has more information
226+ # in it, and a simple comparison no longer works.
227+ if "TRSize_125PercentOfMaxFileSize" in current_test :
226228 fragment_check_list .append (wibeth_frag_125pct_params )
227229 else :
228230 fragment_check_list .append (wibeth_frag_55pct_params )
You can’t perform that action at this time.
0 commit comments