6
0
mirror of https://github.com/FirebirdSQL/firebird-qa.git synced 2025-01-23 05:53:06 +01:00
Commit Graph

71 Commits

Author SHA1 Message Date
pavel-zotov
4472665b38 Added/Updated tests\functional\replication\test_some_updates_crash_server_on_replica_side.py: Refactored: make test more robust when it can not remove some files from {repl_journal} and {repl_archive} folders. See notes 2023-12-23 11:17:02 +03:00
pavel-zotov
df907f51fc 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 2023-12-23 11:16:58 +03:00
pavel-zotov
ae31248c88 Added/Updated tests\functional\replication\test_permission_error_on_ddl_issued_by_non_sysdba.py: Refactored: make test more robust when it can not remove some files from {repl_journal} and {repl_archive} folders. See notes 2023-12-23 11:16:54 +03:00
pavel-zotov
884d253e50 Added/Updated tests\functional\replication\test_oltp_emul_ddl.py: Refactored: make test more robust when it can not remove some files from {repl_journal} and {repl_archive} folders. See notes 2023-12-23 11:16:50 +03:00
pavel-zotov
b7a1bf8d50 Added/Updated tests\functional\replication\test_invalid_msg_if_target_db_has_no_replica_flag.py: Refactored: make test more robust when it can not remove some files from {repl_journal} and {repl_archive} folders. See notes 2023-12-23 11:16:47 +03:00
pavel-zotov
4cc7acf604 Added/Updated tests\functional\replication\test_generator_could_not_be_transferred_to_replica.py: Refactored: make test more robust when it can not remove some files from {repl_journal} and {repl_archive} folders. See notes 2023-12-23 11:16:43 +03:00
pavel-zotov
f0645f27e8 Added/Updated tests\functional\replication\test_failed_DDL_commands_can_be_replicated.py: Refactored: make test more robust when it can not remove some files from {repl_journal} and {repl_archive} folders. See notes 2023-12-23 11:16:39 +03:00
pavel-zotov
177221fd00 Added/Updated tests\functional\replication\test_duplicates_in_rw_replica_after_conflicting_insert.py: Refactored: make test more robust when it can not remove some files from {repl_journal} and {repl_archive} folders. See notes 2023-12-23 11:16:35 +03:00
pavel-zotov
d87b25c365 Added/Updated tests\functional\replication\test_disallow_rdb_backup_history_replication.py: Refactored: make test more robust when it can not remove some files from {repl_journal} and {repl_archive} folders. See notes 2023-12-23 11:16:31 +03:00
pavel-zotov
aa4d48a23c Added/Updated tests\functional\replication\test_ddl_triggers_must_not_fire_on_replica.py: Refactored: make test more robust when it can not remove some files from {repl_journal} and {repl_archive} folders. See notes 2023-12-23 11:16:27 +03:00
pavel-zotov
2057a5f8be Added/Updated tests\functional\replication\test_dblevel_triggers_must_not_fire_on_replica.py: Refactored: make test more robust when it can not remove some files from {repl_journal} and {repl_archive} folders. See notes 2023-12-23 11:16:23 +03:00
pavel-zotov
9f30870f26 Added/Updated tests\functional\replication\test_blob_segments_longer_32kb_are_not_replicated.py: Refactored: make test more robust when it can not remove some files from {repl_journal} and {repl_archive} folders. See notes 2023-12-23 11:16:20 +03:00
pavel-zotov
95495509a3 Added/Updated tests\functional\replication\test_blob_not_found_in_rw_replica_if_target_row_exists.py: Refactored: make test more robust when it can not remove some files from {repl_journal} and {repl_archive} folders. See notes 2023-12-23 11:16:16 +03:00
pavel-zotov
b51112a98e Added/Updated tests\functional\replication\test_invalid_msg_if_target_db_has_no_replica_flag.py: Refactored: make test more robast when it can not remove some files from {repl_journal} and {repl_archive} folders. This error must NOT propagate and interrupt entire test. Rather, we must only to log name of file that can not be dropped. 2023-12-22 20:40:02 +03:00
pavel-zotov
dc8248a954 Added/Updated tests\functional\replication\test_invalid_msg_if_target_db_has_no_replica_flag.py: Refactored: make test more robast when it can not remove some files from {repl_journal} and {repl_archive} folders. This error must NOT propagate and interrupt entire test. Rather, we must only to log name of file that can not be dropped. 2023-12-22 20:38:05 +03:00
pavel-zotov
ff2fe975cf added @pytest.mark.replication in order to skip this test using 'pytest -m "not replication"' command 2023-12-20 15:08:10 +03:00
pavel-zotov
b35e060c8e Removed obsolete comments. Adjusted notes. 2023-12-12 11:00:13 +03:00
pavel-zotov
df738acfe9 Added/Updated tests\functional\replication\test_dblevel_triggers_must_not_fire_on_replica.py: removed old comment with non-used setting 2023-12-12 10:46:22 +03:00
pavel-zotov
e9ee32d4af Added/Updated tests\functional\replication\test_oltp_emul_ddl.py: problems that can occus during initial DDL must be reflected in the variable with distinct name: 'out_init'. 2023-11-29 10:25:20 +03:00
pavel-zotov
c81e7f964e Added/Updated tests\functional\replication\test_invalid_msg_if_target_db_has_no_replica_flag.py: Refactored: make code to explain details if any error occurred. 2023-11-11 23:15:20 +03:00
pavel-zotov
8f7d779d97 Added/Updated tests\functional\replication\test_oltp_emul_ddl.py: Added code for running test when no port is specified in the firebird-driver.conf and it has default (commented) value in the firebird.conf. Added check that port is actually listening. Replaced hard-coded SYSDBA/masterkey -- see notes. 2023-09-07 00:31:03 +03:00
pavel-zotov
9bbc395773 Added/Updated tests\functional\replication\test_oltp_emul_ddl.py: added more info when test fails: show diff between old and new replication.log. Added input arg 'cleanup_repl_dirs' to func reset_replication() in order to have ability to investigate segments when test fails. 2023-08-23 21:37:32 +03:00
pavel-zotov
5628999229 ENABLED execution of on Linux when ServerMode = Classic after letter from dimitr 13-JUL-2023 12:58. 2023-07-18 17:40:55 +03:00
pavel-zotov
ea1febdeda Added/Updated tests\functional\replication\test_shutdown_during_applying_segments_leads_to_crash.py: Refactored, see notes. 2023-06-08 17:35:15 +03:00
pavel-zotov
8eb64cae2c Added/Updated tests\functional\replication\test_disallow_rdb_backup_history_replication.py: Checked on 4.0.3.2943 - both SS and CS. 2023-05-29 23:08:14 +03:00
pavel-zotov
2891ca222a 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. 2023-05-22 18:08:01 +03:00
pavel-zotov
d39cd9ead4 Added/Updated tests\functional\replication\test_oltp_emul_ddl.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. 2023-04-22 10:55:16 +03:00
pavel-zotov
e25627a66f Added/Updated tests\functional\replication\test_generator_could_not_be_transferred_to_replica.py: minor correction (comments) 2023-04-21 06:31:39 +03:00
pavel-zotov
d6a9820b29 Added/Updated tests\functional\replication\test_some_updates_crash_server_on_replica_side.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. 2023-04-19 19:39:01 +03:00
pavel-zotov
21e793383b Added/Updated tests\functional\replication\test_shutdown_during_applying_segments_leads_to_crash.py: removed unneeded variable 2023-04-19 18:22:17 +03:00
pavel-zotov
2db9e37d33 Added/Updated tests\functional\replication\test_ddl_triggers_must_not_fire_on_replica.py: minor corr. 2023-04-18 18:20:17 +03:00
pavel-zotov
adbd0c0af2 Added/Updated tests\functional\replication\test_generator_could_not_be_transferred_to_replica.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. 2023-04-18 17:37:10 +03:00
pavel-zotov
41a4aac6f6 Added/Updated tests\functional\replication\test_failed_DDL_commands_can_be_replicated.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. 2023-04-18 14:26:44 +03:00
pavel-zotov
610ddcd2a5 Added/Updated tests\functional\replication\test_permission_error_on_ddl_issued_by_non_sysdba.py: removed old comments and add new ones. 2023-04-18 11:22:39 +03:00
pavel-zotov
ccb7a79e5a Added/Updated tests\functional\replication\test_duplicates_in_rw_replica_after_conflicting_insert.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. 2023-04-18 11:18:00 +03:00
pavel-zotov
0ff4bf84c4 Added/Updated tests\functional\replication\test_updating_blob_with_empty_string_stops_replication.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. 2023-04-18 10:10:06 +03:00
pavel-zotov
9ea26713a0 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. 2023-04-18 09:04:21 +03:00
pavel-zotov
313cb0b42d Added/Updated tests\functional\replication\test_permission_error_on_ddl_issued_by_non_sysdba.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. 2023-04-17 18:59:09 +03:00
pavel-zotov
ac4a58b2fb Added/Updated tests\functional\replication\test_blob_not_found_in_rw_replica_if_target_row_exists.py: minor change: added comments 2023-04-17 16:29:21 +03:00
pavel-zotov
e4e2ba2bec Added/Updated tests\functional\replication\test_blob_segments_longer_32kb_are_not_replicated.py: misc adjustings 2023-04-17 16:28:17 +03:00
pavel-zotov
981014306e Added/Updated tests\functional\replication\test_blob_not_found_in_rw_replica_if_target_row_exists.py: adjusted comments 2023-04-17 15:07:46 +03:00
pavel-zotov
b8a489b256 Added/Updated tests\functional\replication\test_blob_not_found_in_rw_replica_if_target_row_exists.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. 2023-04-17 14:46:33 +03:00
pavel-zotov
ae99cda2a6 Added/Updated tests\functional\replication\test_ddl_triggers_must_not_fire_on_replica.py: removed old comments. Aded note about unconditional changing FW to OFF. Adjustings. 2023-04-16 09:48:32 +03:00
pavel-zotov
e7cfc134a3 Added/Updated tests\functional\replication\test_ddl_triggers_must_not_fire_on_replica.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. 2023-04-16 00:56:11 +03:00
pavel-zotov
17665d2d1e Added/Updated tests\functional\replication\test_dblevel_triggers_must_not_fire_on_replica.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. 2023-04-15 10:48:52 +03:00
pavel-zotov
9e234779b2 Added/Updated tests\functional\replication\test_blob_segments_longer_32kb_are_not_replicated.py: minor change: removed unneeded import, replaced with existing feature of 'os' package 2023-04-15 08:40:20 +03:00
pavel-zotov
664684f7b5 Added/Updated tests\functional\replication\test_blob_segments_longer_32kb_are_not_replicated.py: fixed wrong varname 2023-04-15 08:24:29 +03:00
pavel-zotov
85a0d2028b Added/Updated tests\functional\replication\test_blob_segments_longer_32kb_are_not_replicated.py: Temporary DISABLED execution on Linux when ServerMode = Classic. Replication can unexpectedly stop with message 'Engine is shutdown' appears in replication.log. Sent report to dimitr, waiting for fix. 2023-04-14 15:54:42 +03:00
pavel-zotov
f3980f7673 Added/Updated tests\functional\replication\test_blob_segments_longer_32kb_are_not_replicated.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. 2023-04-14 00:16:56 +03:00
zotov
6ca91384c2 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. 2023-02-07 18:15:15 +03:00