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_5501_test.py: added output of validation log when test fails

This commit is contained in:
pavel-zotov 2024-01-22 11:09:01 +03:00
parent 40881ac836
commit a1e9733b2f

View File

@ -344,8 +344,15 @@ def test_1(act: Action, capsys):
print(final_msg)
print('Check output of "gstat -e":')
for line in act.stdout.splitlines():
print(line.replace(' ','.'))
print(line)
#print(line.replace(' ','.'))
print('-' * 50)
print(f'Check validation log ({len(validation_log)} lines):')
for line in validation_log:
print(line)
print('-' * 50)
print(f'brk_datapage = {brk_datapage}, brk_indxpage = {brk_indxpage}, brk_blobpage = {brk_blobpage}')
print(f'data_page_problem = {data_page_problem}, indx_page_problem = {indx_page_problem}, blob_page_problem = {blob_page_problem}')