6
0
mirror of https://github.com/FirebirdSQL/firebird-qa.git synced 2025-01-22 13:33:07 +01:00

Added/Updated tests\bugs\core_5664_test.py: added 'perf_issue_tag' string to the output related to performance problem. This text will serve as 'tag' for unambiguous detection of performance problem and set appropriate mark to the test outcome.

This commit is contained in:
pavel-zotov 2023-05-13 20:30:58 +03:00
parent ff6a53f9b2
commit c851f14a8b

View File

@ -177,7 +177,7 @@ def test_1(act: Action, capsys):
# String STARTS WITH pattern, result: acceptable.
print('Check: ' + long_text_form + ' - acceptable.')
else:
print('\nTOO SLOW search when use "%s": median greater %12.2f' % (long_text_form.upper().replace('_',' '), max_allowed_ratio) )
print('\n/* perf_issue_tag */ TOO SLOW search when use "%s": median greater %12.2f' % (long_text_form.upper().replace('_',' '), max_allowed_ratio) )
print("\nCheck sp_call_data values (k=[", long_text_form, ", i], v = (sp_time['sim2'], sp_time['like'])):" )
for k,v in sorted(sp_call_data.items()):