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:
parent
43db6f3b49
commit
cc9edefe42
@ -245,7 +245,7 @@ def test_1(act: Action, capsys):
|
|||||||
msg += 'acceptable.'
|
msg += 'acceptable.'
|
||||||
print(msg)
|
print(msg)
|
||||||
else:
|
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(msg)
|
||||||
|
|
||||||
print('Check values for %d measurements:' % N_MEASURES)
|
print('Check values for %d measurements:' % N_MEASURES)
|
||||||
|
Loading…
Reference in New Issue
Block a user