QA commits

    functional.replication.test_shutdown_during_applying_segments_leads_to_crash
    Crash or hang while shutting down the replica database if segments are being applied
      UTC 2025.11.03 12:31 pavel-zotov
      Added/Updated tests\functional\replication\test_shutdown_during_applying_segments_leads_to_crash.py: replaced comments so that they will not affect on assumption about actual reason of fail (crash assumed before)
      https://github.com/FirebirdSQL/firebird-qa/commit/a3862c1ffc73825606aaa8880b6645c70a540b7d
      ----------------------------------------
      UTC 2025.10.30 11:40 pavel-zotov
      Re-implemented all tests related to replication. Journal and archive subdirectories will have form based on DB file name + appropriate suffix:      /path/to/.journal      /path/to/.archive Internal function 'reset_replication' in each test now will evaluate journal and archive subdirectories as:     repl_jrn_sub_dir = Path(db_main_file).with_suffix('.journal')     repl_arc_sub_dir = Path(db_main_file).with_suffix('.archive') (instead of old reference to key-value pairs from $QA_ROOT/files/test_config.ini) Added 'qa-replicaton.conf' as prototype for replicaton config (will be used by updated QA-rundaily scenarios). Multiple DB pairs can be specified in qa-databases.conf and qa-replicaton.conf for tests. Added aliases to qa-databases.conf to run test for #8766 with dedicated set of replication parameters:     db_main_8766_alias = $(dir_sampleDb)/qa_replication/db_main_8766.fdb     db_repl_8766_alias = $(dir_sampleDb)/qa_replication/db_repl_8766.fdb Test 'test_journal_file_truncated_on_concurrent_cs_load.py' refers to dedicated pair of aliases for check:     MAIN_DB_ALIAS = repl_settings['MAIN_DB_8766_ALIAS']     REPL_DB_ALIAS = repl_settings['REPL_DB_8766_ALIAS'] (these pair has dedicated section in qa-replicaton.conf with NON-commeted parameter 'journal_source_directory')
      https://github.com/FirebirdSQL/firebird-qa/commit/50641ac0c997ebffb777912ff87ecb160f2ffb4c
      ----------------------------------------
      UTC 2023.12.23 12:28 pavel-zotov
      Added/Updated tests\functional\replication\test_shutdown_during_applying_segments_leads_to_crash.py: Make final SWEEP optional, depending on setting RUN_SWEEP_AT_END - see $QA_ROOT/files/test_config.ini.
      https://github.com/FirebirdSQL/firebird-qa/commit/52a42f95416f809552863a7e8e3d77f6813dbb3d
      ----------------------------------------
      UTC 2023.12.23 08:16 pavel-zotov
      Added/Updated tests\functional\replication\test_shutdown_during_applying_segments_leads_to_crash.py: Refactored: make test more robust when it can not remove some files from {repl_journal} and {repl_archive} folders. See notes
      https://github.com/FirebirdSQL/firebird-qa/commit/df907f51fc2bf99853f4bbfaf6ee5a1d378246cf
      ----------------------------------------
      UTC 2023.12.20 12:08 pavel-zotov
      added @pytest.mark.replication in order to skip this test using 'pytest -m "not replication"' command
      https://github.com/FirebirdSQL/firebird-qa/commit/ff2fe975cf362988c9a132024f645e9bb69bb8c4
      ----------------------------------------
      UTC 2023.12.12 08:00 pavel-zotov
      Removed obsolete comments. Adjusted notes.
      https://github.com/FirebirdSQL/firebird-qa/commit/b35e060c8efb363c80bbb8a31d1ecd0a100f28de
      ----------------------------------------
      UTC 2023.07.18 14:40 pavel-zotov
      ENABLED execution of on Linux when ServerMode = Classic after letter from dimitr 13-JUL-2023 12:58.
      https://github.com/FirebirdSQL/firebird-qa/commit/5628999229bdfecd6619c0bdbe94cdddf1cbeffd
      ----------------------------------------
      UTC 2023.06.08 14:35 pavel-zotov
      Added/Updated tests\functional\replication\test_shutdown_during_applying_segments_leads_to_crash.py: Refactored, see notes.
      https://github.com/FirebirdSQL/firebird-qa/commit/ea1febdeda3544a3ca1f819160276c5cffb0cc1e
      ----------------------------------------
      UTC 2023.05.22 15:08 pavel-zotov
      Added/Updated tests\functional\replication\test_shutdown_during_applying_segments_leads_to_crash.py: increased max time for wait, only for THIS test. Otherwise it fails too often.
      https://github.com/FirebirdSQL/firebird-qa/commit/2891ca222ac6bbb99cdc9172622fe7a0f3ed6770
      ----------------------------------------
      UTC 2023.04.19 15:22 pavel-zotov
      Added/Updated tests\functional\replication\test_shutdown_during_applying_segments_leads_to_crash.py: removed unneeded variable
      https://github.com/FirebirdSQL/firebird-qa/commit/21e793383b64b7cbcabcca463de6436daae7a69a
      ----------------------------------------
      UTC 2023.04.18 06:04 pavel-zotov
      Added/Updated tests\functional\replication\test_shutdown_during_applying_segments_leads_to_crash.py: Reimplemented. We have to query replica database for presense of data that we know there must appear. Replication log must NOT be scanned every N seconds for that task.
      https://github.com/FirebirdSQL/firebird-qa/commit/9ea26713a0c7ea6549bb06e0d77eec42f58582f5
      ----------------------------------------
      UTC 2023.02.07 15:15 zotov
      Added/Updated D:\FB\firebird-qa\tests\functional\replication\test_shutdown_during_applying_segments_leads_to_crash.py: commented out command that changes replica DB FW to OFF - as it was initially in old QA.
      https://github.com/FirebirdSQL/firebird-qa/commit/6ca91384c20df2e4bac8db6c66dfdca176f5338c
      ----------------------------------------
      UTC 2022.10.06 19:28 zotov
      Added/Updated D:\FB\firebird-qa\tests\functional\replication\test_shutdown_during_applying_segments_leads_to_crash.py: added notes
      https://github.com/FirebirdSQL/firebird-qa/commit/82806070df7f8b70a61bfd93e8532ffe0b280cda
      ----------------------------------------
      UTC 2022.10.06 19:13 zotov
      Added/Updated D:\FB\firebird-qa\tests\functional\replication\test_shutdown_during_applying_segments_leads_to_crash.py: In case of fail database must be recreated by removing FILE rather than call act.db.drop(). DB filename must be obtained via con.info.name because act.db.db_path contains ALIAS for replication related tests.
      https://github.com/FirebirdSQL/firebird-qa/commit/694012ff696571edb51b46bded6c6f1481c9cde2
      ----------------------------------------
      UTC 2022.08.27 17:19 zotov
      Added/Updated functional\replication\test_shutdown_during_applying_segments_leads_to_crash.py. Checked on 5.0.0.623, 4.0.1.2692 - both on Windows and Linux. On linux test atually silently FAILS, without showing any error. Will be investigated later.
      https://github.com/FirebirdSQL/firebird-qa/commit/fee7925d476078405eb3b9eb55d8b1bc70e0187c
      ----------------------------------------
      UTC 2022.02.04 18:05 pcisar
      New metadata + cleanup
      https://github.com/FirebirdSQL/firebird-qa/commit/91781e92315513c78a00d98531c7f316205dd2fb
      ----------------------------------------
      UTC 2021.12.30 16:00 pcisar
      Action.files_dir + XFAIL for not implemented
      https://github.com/FirebirdSQL/firebird-qa/commit/0c47f798c62fd8edd061c0b869822a4bd23e348a
      ----------------------------------------
      UTC 2021.12.23 15:00 pcisar
      Missing functional tests, fresh conversion without adjustment
      https://github.com/FirebirdSQL/firebird-qa/commit/2b19dc571c496f889012b34f21185cf308bb9bbf