Skip to content

Commit ece9b7b

Browse files
committed
Added/Updated tests\bugs\gh_7723_test.py: added/adjusted comments
1 parent b74e33d commit ece9b7b

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

tests/bugs/gh_7723_test.py

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,23 @@
55
ISSUE: https://github.com/FirebirdSQL/firebird/issues/7723
66
TITLE: Wrong error message on login if the user doesn't exists and WireCrypt is disabled
77
DESCRIPTION:
8+
Ticket issue can be reproduced only when AuthServer = Srp256 (i.e. has default value).
9+
Problem *not* raises when this parameter is 'Srp' (at least, not on Windows).
10+
Parameter AuthServer is per-database. Because of that, we have to use separate predefined
11+
ALIAS with setting this parameter value to 'Srp256'.
812
NOTES:
913
[29.08.2023] pzotov
10-
1. Cursom alias must be specified in the databases.conf with:
11-
AuthServer = Srp256 // NOT just 'Srp'!
12-
Otherwise ticket issue can not be reproduced without server restart. The reason is unknown.
13-
2. Custom driver config objects are created here, one with WireCrypt = Disabled and second with Enabled.
14-
3. It is supposed that no user with name 'tmp$non_existing_7723' exists.
14+
1. One need to be sure that firebird.conf does NOT contain DatabaseAccess = None.
15+
2. Test uses pre-created databases.conf which has alias defined by variable REQUIRED_ALIAS.
16+
Database file for that alias must NOT exist in the QA_root/files/qa/ subdirectory: it will be created here.
17+
Content of databases.conf must be taken from $QA_ROOT/files/qa-databases.conf (one need to replace
18+
it before every test session).
19+
Discussed with pcisar, letters since 30-may-2022 13:48, subject:
20+
"new qa, core_4964_test.py: strange outcome when use... shutil.copy() // comparing to shutil.copy2()"
21+
3. Value of REQUIRED_ALIAS must be EXACTLY the same as alias specified in the pre-created databases.conf
22+
(for LINUX this equality is case-sensitive, even when aliases are compared!)
23+
4. Custom driver config objects are created here, one with WireCrypt = Disabled and second with Enabled.
24+
5. It is supposed that no user with name 'tmp$non_existing_7723' exists.
1525
1626
Confirmed on 5.0.0.1169, 4.0.4.2979
1727
Checked on 5.0.0.1177, 4.0.4.2982 -- all OK.

0 commit comments

Comments
 (0)