mirror of
https://github.com/FirebirdSQL/firebird-qa.git
synced 2025-02-02 02:40:42 +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:
parent
62a0c1f7fb
commit
baa278f259
@ -5,14 +5,18 @@ ID: alter-database-03
|
|||||||
TITLE: Alter database: add file with name of this database or previously added files must fail
|
TITLE: Alter database: add file with name of this database or previously added files must fail
|
||||||
DESCRIPTION: Add same file twice must fail
|
DESCRIPTION: Add same file twice must fail
|
||||||
NOTES:
|
NOTES:
|
||||||
[08.02.2022] pcisar
|
[08.02.2022] pcisar
|
||||||
Fails on Windows with 3.0.8:
|
Fails on Windows with 3.0.8:
|
||||||
Regex pattern '.*Cannot add file with the same name as the database or added files.*'
|
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'.
|
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
|
import pytest
|
||||||
@ -24,7 +28,7 @@ db = db_factory()
|
|||||||
|
|
||||||
act = python_act('db')
|
act = python_act('db')
|
||||||
|
|
||||||
@pytest.mark.version('>=3.0')
|
@pytest.mark.version('>=3.0,<6')
|
||||||
def test_1(act: Action, capsys):
|
def test_1(act: Action, capsys):
|
||||||
with act.db.connect() as con:
|
with act.db.connect() as con:
|
||||||
with con.cursor() as c:
|
with con.cursor() as c:
|
||||||
|
Loading…
Reference in New Issue
Block a user