6
0
mirror of https://github.com/FirebirdSQL/firebird-qa.git synced 2025-01-22 13:33:07 +01:00

Added/Updated tests\bugs\gh_7466_test.py: Adjusted expected output after commit f62a27ec: DDL trigger is loaded into metadata cache only once.

This commit is contained in:
pavel-zotov 2023-09-06 12:29:28 +03:00
parent 1d6cfa0d5e
commit bc74fc6319

View File

@ -34,10 +34,16 @@ NOTES:
its altering and its dropping - although there is no re-connect between these actions). This is conisdered as bug, its altering and its dropping - although there is no re-connect between these actions). This is conisdered as bug,
see: https://github.com/FirebirdSQL/firebird/pull/7426 (currently it is not yet fixed). see: https://github.com/FirebirdSQL/firebird/pull/7426 (currently it is not yet fixed).
Checked on 5.0.0.1164.
Thanks to dimitr for explanations. Thanks to dimitr for explanations.
Discussed with dimitr, letters 17.08.2023. Discussed with dimitr, letters 17.08.2023.
Checked on 5.0.0.1164 [06-sep-2023] pzotov
Changed expected output: DDL trigger is loaded into metadata cache only once, so we have to check only SINGLE
occurence of "Trigger TRG_DDL (AFTER DDL)" event.
See also: https://github.com/FirebirdSQL/firebird/commit/00c2d10102468d5494b413c0de295079f62a27ec
Checkec on 5.0.0.1190
""" """
import locale import locale
import re import re
@ -268,8 +274,6 @@ def test_1(act: Action, capsys):
Trigger TRG_DB_CONN (ON CONNECT): Trigger TRG_DB_CONN (ON CONNECT):
Trigger TRG_TEST_BIU FOR TEST (BEFORE INSERT): Trigger TRG_TEST_BIU FOR TEST (BEFORE INSERT):
Trigger TRG_DDL (AFTER DDL): Trigger TRG_DDL (AFTER DDL):
Trigger TRG_DDL (AFTER DDL):
Trigger TRG_DDL (AFTER DDL):
""" """
act.expected_stdout = expected_stdout act.expected_stdout = expected_stdout