Skip to content

Commit 5623ab5

Browse files
committed
Content of $QA_HOME/files/qa-databases.conf must be *ADDED* to the file
$TESTING_FB_HOME/databases.conf rather than overwrite it. Final file must contain aliases 'employee' and 'security.db'. Otherwise in some cases attempt to made attach to Services can fail: ======= provider.set_dbcrypt_callback(crypt_callback) > svc = provider.attach_service_manager(host, spb_buf) result = self.vtable.attachServiceManager(self, self.status, service.encode(), len(spb), spb) > self._check() > raise self.__report(DatabaseError, self.status.get_errors()) firebird.driver.types.DatabaseError: Error occurred during login, please check server firebird.log for details ======= And firebird.log contains at this moment: Authentication error I/O error during "CreateFile (open)" operation for file "...\SECURITY5.FDB" Error while trying to open file The system cannot find the file specified. Detected on Windows, FB 5.0.0.970, Classic, test bugs/core_6316_test.py
1 parent 8059e7f commit 5623ab5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

files/qa-databases.conf

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# QA-specific databases.conf, would be copied manually to $FB_HOME
1+
# QA-specific databases.conf, will be ADDED $FB_HOME/databases.conf
22
# by batch scenario as part of preparation, before QA suite run.
3+
# ::: NB :::
4+
# DO NOT add here aliases 'employee', 'employee.fdb' and 'security.db'
5+
# ####################################################################
36
# Discussed with pcisar, letters since 30-may-2022 13:48, subject:
4-
# "new qa, core_4964_test.py: strange outcome when use... shutil.copy() // comparing to shutil.copy2()"
5-
###################################################################
6-
7-
employee.fdb = $(dir_sampleDb)/employee.fdb
8-
employee = $(dir_sampleDb)/employee.fdb
7+
# "new qa, core_4964_test.py: strange outcome when use... shutil.copy()"
8+
# ####################################################################
99

1010
# Hereafter we specify data for tests which require special settings for database.
11-
# NOTE: each alias must EXACTLY match to value specified in the test!
11+
# Each alias must EXACTLY match to value in the test, including letters case.
1212
#
1313

1414
# Test issue: https://github.com/FirebirdSQL/firebird/issues/5160

0 commit comments

Comments
 (0)