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_6237_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:31:13 +03:00
parent c851f14a8b
commit cc50169696

View File

@ -90,7 +90,7 @@ def test_1(act: Action, leg_user: User, srp_user: User, capsys):
if conn_time_ratio < MIN_RATIO_THRESHOLD or max( median(srp_user_conn_time), median(leg_user_conn_time) ) < MAX_MEDIAN_TO_IGNORE:
print(expected_txt)
else:
print(f'Ratio Srp/Legacy: {conn_time_ratio} - is GREATER than threshold = {MIN_RATIO_THRESHOLD}.')
print(f'/* perf_issue_tag */ Ratio Srp/Legacy: {conn_time_ratio} - is GREATER than threshold = {MIN_RATIO_THRESHOLD}.')
print(f' Median for Srp: {median(srp_user_conn_time)}')
print(f' Median for Legacy: {median(leg_user_conn_time)}')