From a1e9733b2f5763b55a1b3970ff947e30a454e1c6 Mon Sep 17 00:00:00 2001 From: pavel-zotov Date: Mon, 22 Jan 2024 11:09:01 +0300 Subject: [PATCH] Added/Updated tests\bugs\core_5501_test.py: added output of validation log when test fails --- tests/bugs/core_5501_test.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/bugs/core_5501_test.py b/tests/bugs/core_5501_test.py index affb2ed3..4a5f4b60 100644 --- a/tests/bugs/core_5501_test.py +++ b/tests/bugs/core_5501_test.py @@ -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}')