diff --git a/tests/bugs/core_4710_test.py b/tests/bugs/core_4710_test.py index 339a648a..10eae390 100644 --- a/tests/bugs/core_4710_test.py +++ b/tests/bugs/core_4710_test.py @@ -7,6 +7,10 @@ TITLE: invalid request BLR at offset 361 context already in use (BLR error DESCRIPTION: JIRA: CORE-4710 FBTEST: bugs.core_4710 +NOTES: + [29.07.2023] pzotov + Removed comparison of actual and expected STDOUT content because execution plan can change + and this has no relation to the test purposes (we have to check only STDERR content). """ import pytest @@ -245,73 +249,6 @@ test_script = """ act = isql_act('db', test_script) -expected_stdout = """ - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN SORT (SORT (JOIN (JOIN (R2 NATURAL, R NATURAL), JOIN (R NATURAL, R2 NATURAL)))) - PLAN (RDB$DATABASE NATURAL) -""" - expected_stderr = """ Statement failed, SQLSTATE = 54001 Dynamic SQL Error @@ -324,9 +261,7 @@ expected_stderr = """ @pytest.mark.version('>=3.0') def test_1(act: Action): - act.expected_stdout = expected_stdout act.expected_stderr = expected_stderr act.execute() - assert (act.clean_stderr == act.clean_expected_stderr and - act.clean_stdout == act.clean_expected_stdout) + assert act.clean_stderr == act.clean_expected_stderr