Skip to content

Commit 7884f65

Browse files
committed
Added/Updated tests\bugs\core_5637_test.py: Checked on 6.0.0.1020-fc0e37f
1 parent 035db94 commit 7884f65

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

tests/bugs/core_5637_test.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@
2626
See doc/sql.extensions/README.schemas.md, section title: '### gbak'; see 'SQL_SCHEMA_PREFIX' variable here.
2727
Currently these messages are suppressed.
2828
Checked on 6.0.0.970; 5.0.3.1668.
29+
30+
[16.07.2025] pzotov
31+
Messages 'gbak: WARNING' no more suppressed and should be displayed if exist (and this must be considered as bug).
32+
Explained by Adriano, 16.07.2025 03:40.
33+
Fix was in fc0e37f6fd8291bc41931605c6b2c53437095ca8
34+
Checked on 6.0.0.1020-fc0e37f
2935
"""
3036

3137
import pytest
@@ -59,8 +65,7 @@ def test_1(act: Action, sec_fbk: Path, sec_fdb: Path):
5965
srv.database.validate(database=sec_fdb)
6066
validation_log = srv.readlines()
6167
srv.database.shutdown(database=sec_fdb, mode=ShutdownMode.FULL, method=ShutdownMethod.FORCED, timeout=0)
62-
#
63-
#
64-
assert [line for line in gbak_restore_log if 'ERROR' in line.upper() and not 'gbak: WARNING:' in line] == []
68+
69+
assert [line for line in gbak_restore_log if 'gbak: ERROR' in line.upper() ] == []
6570
assert [line for line in validation_log if 'ERROR' in line.upper()] == []
6671
assert list(unified_diff(fb_log_before, fb_log_after)) == []

0 commit comments

Comments
 (0)