mirror of
https://github.com/FirebirdSQL/firebird-qa.git
synced 2025-01-22 13:33:07 +01:00
Added/Updated tests\bugs\core_6348_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
cc50169696
commit
653f190ed7
@ -164,7 +164,7 @@ def test_1(act: Action, tmp_data: Path, capsys):
|
||||
if locals()[var_name] <= MAX_THRESHOLD_FOR_COMPRESS_ON_VS_OFF:
|
||||
print(msg_prefix + 'OK, acceptable.')
|
||||
else:
|
||||
print(msg_prefix + 'TOO HIGH: %9.2f - more than threshold: %6.2f' % ( locals()[var_name], MAX_THRESHOLD_FOR_COMPRESS_ON_VS_OFF ) )
|
||||
print(msg_prefix + '/* perf_issue_tag */ TOO HIGH: %9.2f - more than threshold: %6.2f' % ( locals()[var_name], MAX_THRESHOLD_FOR_COMPRESS_ON_VS_OFF ) )
|
||||
|
||||
act.stdout = capsys.readouterr().out
|
||||
assert act.clean_stdout == act.clean_expected_stdout
|
||||
|
Loading…
Reference in New Issue
Block a user