fix case name error when op benchmark ci auto-retry, test=document_fix (#30322)

revert-31562-mean
wuhuanzhou 4 years ago committed by GitHub
parent 75936d838f
commit ca74dd3c69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -127,7 +127,7 @@ def update_api_info_file(fail_case_list, api_info_file):
check_path_exists(api_info_file)
# set of case names for performance check failures
fail_case_set = set(map(lambda x: x.split('_')[0], fail_case_list))
fail_case_set = set(map(lambda x: x.rsplit('_', 1)[0], fail_case_list))
# list of api infos for performance check failures
api_info_list = list()

Loading…
Cancel
Save