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

Added/Updated tests\functional\database\alter\test_03.py: Added restriction for FB 6.x: this test now must be skipped, see commit f0740d2a: Wipe out multi-file database support

This commit is contained in:
pavel-zotov 2024-12-29 11:34:00 +03:00
parent 62a0c1f7fb
commit baa278f259

View File

@ -5,14 +5,18 @@ ID: alter-database-03
TITLE: Alter database: add file with name of this database or previously added files must fail
DESCRIPTION: Add same file twice must fail
NOTES:
[08.02.2022] pcisar
Fails on Windows with 3.0.8:
[08.02.2022] pcisar
Fails on Windows with 3.0.8:
Regex pattern '.*Cannot add file with the same name as the database or added files.*'
does not match 'unsuccessful metadata update\n-ALTER DATABASE failed\n-unknown ISC error 336068774'.
[08.04.2022] pzotov
Test PASSES on FB 3.0.8 Rls, 4.0.1 RLs and 5.0.0.467.
FBTEST: functional.database.alter.03
[08.04.2022] pzotov
Test PASSES on FB 3.0.8 Rls, 4.0.1 RLs and 5.0.0.467.
[29.12.2024] pzotov
Added restriction for FB 6.x: this test now must be skipped, see:
https://github.com/FirebirdSQL/firebird/commit/f0740d2a3282ed92a87b8e0547139ba8efe61173
("Wipe out multi-file database support (#8047)")
"""
import pytest
@ -24,7 +28,7 @@ db = db_factory()
act = python_act('db')
@pytest.mark.version('>=3.0')
@pytest.mark.version('>=3.0,<6')
def test_1(act: Action, capsys):
with act.db.connect() as con:
with con.cursor() as c: