From 43db6f3b497c426b76a55572b9c870ee075d8498 Mon Sep 17 00:00:00 2001 From: pavel-zotov Date: Sat, 13 May 2023 20:30:13 +0300 Subject: [PATCH] Added/Updated tests\bugs\core_5302_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. --- tests/bugs/core_5302_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bugs/core_5302_test.py b/tests/bugs/core_5302_test.py index 93801d7e..e1bf0654 100644 --- a/tests/bugs/core_5302_test.py +++ b/tests/bugs/core_5302_test.py @@ -189,7 +189,7 @@ def test_1(act: Action, capsys): median_ratio = median(ratio_lst) - print( MSG_PREFIX + ('acceptable.' if median_ratio < INSERTS_TIME_MAX_RATIO else 'POOR: %s, more than threshold: %s' % ( '{:9g}'.format(median_ratio), '{:9g}'.format(INSERTS_TIME_MAX_RATIO) ) ) ) + print( MSG_PREFIX + ('acceptable.' if median_ratio < INSERTS_TIME_MAX_RATIO else '/* perf_issue_tag */ POOR: %s, more than threshold: %s' % ( '{:9g}'.format(median_ratio), '{:9g}'.format(INSERTS_TIME_MAX_RATIO) ) ) ) if median_ratio >= INSERTS_TIME_MAX_RATIO: print('Ratio statistics for %d measurements' % N_MEASURES) for p in ratio_lst: