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_5393_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:28 +03:00
parent 43db6f3b49
commit cc9edefe42

View File

@ -245,7 +245,7 @@ def test_1(act: Action, capsys):
msg += 'acceptable.'
print(msg)
else:
msg += 'INACCEPTABLE: %12.2f -- more than threshold = %5.2f' % (median_ratio, MEDIAN_TIME_MAX_RATIO)
msg += '/* perf_issue_tag */ INACCEPTABLE: %12.2f -- more than threshold = %5.2f' % (median_ratio, MEDIAN_TIME_MAX_RATIO)
print(msg)
print('Check values for %d measurements:' % N_MEASURES)