File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 7
7
DESCRIPTION:
8
8
JIRA: CORE-3283
9
9
FBTEST: bugs.core_3283
10
+ NOTES:
11
+ [27.06.2025] pzotov
12
+ Separated expected output for FB major versions prior/since 6.x.
13
+ No substitutions are used to suppress schema and quotes. Discussed with dimitr, 24.06.2025 12:39.
14
+
15
+ Checked on 6.0.0.876; 5.0.3.1668; 4.0.6.3214; 3.0.13.33813.
10
16
"""
11
17
12
18
import pytest
43
49
44
50
act = isql_act ('db' , test_script )
45
51
46
- expected_stdout = """
52
+ expected_out_5x = """
47
53
PLAN SORT (JOIN (T2 INDEX (TTT_ID), T3 INDEX (TTT_ID)))
48
54
PLAN (T1 INDEX (TTT_ID))
49
55
"""
50
56
57
+ expected_out_6x = """
58
+ PLAN SORT (JOIN ("T2" INDEX ("PUBLIC"."TTT_ID"), "T3" INDEX ("PUBLIC"."TTT_ID")))
59
+ PLAN ("T1" INDEX ("PUBLIC"."TTT_ID"))
60
+ """
61
+
51
62
@pytest .mark .version ('>=3' )
52
63
def test_1 (act : Action ):
53
- act .expected_stdout = expected_stdout
54
- act .execute ()
64
+ act .expected_stdout = expected_out_5x if act . is_version ( '<6' ) else expected_out_6x
65
+ act .execute (combine_output = True )
55
66
assert act .clean_stdout == act .clean_expected_stdout
56
-
You can’t perform that action at this time.
0 commit comments