Skip to content

Commit fc6dbfd

Browse files
committed
Updated tests\bugs\gh_7553_test.py: adjust expected stdout/stderr to current FB version.
1 parent 9a5aa11 commit fc6dbfd

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

tests/bugs/gh_7553_test.py

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
TITLE: Firebird 5 profiler error with subselects
77
DESCRIPTION:
88
Test checks that:
9-
1) profiler viewa *do* have expected records after code described in the ticket;
9+
1) profiler snapshot tables *do* have expected records after code described in the ticket;
1010
2) firebird.log have *no* differences related to FK violation in PLG$PROF_RECORD_SOURCES
1111
NOTES:
1212
Confirmed bug on 5.0.0.1030.
@@ -73,6 +73,18 @@ def test_1(act: Action, capsys):
7373
P_RECSOURCE_CURSOR_ID 1
7474
P_RECSOURCE_OPEN_COUNTER 0
7575
P_RECSOURCE_FETCH_COUNTER 1
76+
77+
P_SESSIONS_PROFILE_ID 1
78+
P_PSQL_COUNTER_ID 1
79+
P_RECSOURCE_CURSOR_ID 1
80+
P_RECSOURCE_OPEN_COUNTER 0
81+
P_RECSOURCE_FETCH_COUNTER 1
82+
83+
P_SESSIONS_PROFILE_ID 1
84+
P_PSQL_COUNTER_ID 1
85+
P_RECSOURCE_CURSOR_ID 1
86+
P_RECSOURCE_OPEN_COUNTER 0
87+
P_RECSOURCE_FETCH_COUNTER 1
7688
7789
P_SESSIONS_PROFILE_ID 1
7890
P_PSQL_COUNTER_ID 1
@@ -84,7 +96,7 @@ def test_1(act: Action, capsys):
8496
P_PSQL_COUNTER_ID 1
8597
P_RECSOURCE_CURSOR_ID 2
8698
P_RECSOURCE_OPEN_COUNTER 1
87-
P_RECSOURCE_FETCH_COUNTER 2
99+
P_RECSOURCE_FETCH_COUNTER 1
88100
89101
P_SESSIONS_PROFILE_ID 1
90102
P_PSQL_COUNTER_ID 1
@@ -98,13 +110,25 @@ def test_1(act: Action, capsys):
98110
P_RECSOURCE_OPEN_COUNTER 1
99111
P_RECSOURCE_FETCH_COUNTER 1
100112
113+
P_SESSIONS_PROFILE_ID 1
114+
P_PSQL_COUNTER_ID 1
115+
P_RECSOURCE_CURSOR_ID 2
116+
P_RECSOURCE_OPEN_COUNTER 1
117+
P_RECSOURCE_FETCH_COUNTER 2
118+
101119
P_SESSIONS_PROFILE_ID 1
102120
P_PSQL_COUNTER_ID 1
103121
P_RECSOURCE_CURSOR_ID 2
104122
P_RECSOURCE_OPEN_COUNTER 1
105123
P_RECSOURCE_FETCH_COUNTER 1
106124
107-
Records affected: 6
125+
P_SESSIONS_PROFILE_ID 1
126+
P_PSQL_COUNTER_ID 1
127+
P_RECSOURCE_CURSOR_ID 2
128+
P_RECSOURCE_OPEN_COUNTER 1
129+
P_RECSOURCE_FETCH_COUNTER 1
130+
131+
Records affected: 10
108132
"""
109133
act.isql(input = test_sql, combine_output = True)
110134
assert act.clean_stdout == act.clean_expected_stdout

0 commit comments

Comments
 (0)