6
0
mirror of https://github.com/FirebirdSQL/firebird-qa.git synced 2025-01-22 13:33:07 +01:00
Commit Graph

509 Commits

Author SHA1 Message Date
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
3523e21200 Added/Updated tests\functional\basic\isql\test_08.py: added @pytest.mark.replication in order to skip this test using 'pytest -m "not replication"' command 2023-12-20 15:04:53 +03:00
pavel-zotov
b54ecef577 Added/Updated tests\functional\basic\isql\test_07.py: added @pytest.mark.replication in order to skip this test using 'pytest -m "not replication"' command 2023-12-20 12:22:11 +03:00
pavel-zotov
c07e96f70b Merge branch 'master' of https://github.com/FirebirdSQL/firebird-qa 2023-12-16 14:08:02 +03:00
pavel-zotov
a6bdb6748d Added/Updated tests\functional\tabloid\test_333be4bf.py: minor correction: removed several old commented lines 2023-12-16 14:04:16 +03:00
pavel-zotov
08bcaa46bd Added/Updated tests\functional\session\test_alter_session_reset_decfloat.py: Added 'SQLSTATE' in substitutions: runtime error must not be suppressed. 2023-12-16 14:01:48 +03:00
pavel-zotov
a4f0822afd Added/Updated tests\functional\monitoring\test_03.py: Added 'SQLSTATE' in substitutions: runtime error must not be suppressed. Added 'combine_output = True' in order to see SQLSTATE if any error occurs. 2023-12-16 13:59:36 +03:00
pavel-zotov
61fd78a697 Added/Updated tests\functional\intfunc\date\test_dateadd_07.py: Added 'SQLSTATE' in substitutions: runtime error must not be suppressed. Added 'combine_output = True' in order to see SQLSTATE if any error occurs. 2023-12-16 13:50:59 +03:00
pavel-zotov
c0530f06b9 Added/Updated tests\functional\intfunc\avg\test_06.py: see notes 2023-12-16 13:48:45 +03:00
pavel-zotov
1533f9da0f Added/Updated tests\functional\gtcs\test_dsql_domain_01.py: Added 'SQLSTATE' in substitutions: runtime error must not be suppressed. Added 'combine_output = True' in order to see SQLSTATE if any error occurs. 2023-12-16 13:31:16 +03:00
pavel-zotov
8bb10ba7f5 Added/Updated tests\functional\gtcs\test_crash_of_group_by_varchar_4000.py: Added 'Error reading/writing' in substitutions: messages caused by crash must not be suppressed. Added 'combine_output = True' in order to see SQLSTATE if any error occurs. 2023-12-16 13:29:18 +03:00
pavel-zotov
d1345a1cb6 Added/Updated tests\functional\gtcs\test_computed_fields_12.py: Added 'SQLSTATE' in substitutions: runtime error must not be suppressed. Added 'combine_output = True' in order to see SQLSTATE if any error occurs. 2023-12-16 13:20:35 +03:00
pavel-zotov
36ee1358d8 Added/Updated tests\functional\datatypes\test_miscelan_binding.py: Added 'SQLSTATE' in substitutions: runtime error must not be suppressed. Added 'combine_output = True' in order to see SQLSTATE if any error occurs. 2023-12-16 13:02:06 +03:00
pavel-zotov
e22c1da850 Added/Updated tests\functional\datatypes\test_decfloat_parsing_scaled_integers_and_bigint_max_min.py: Added 'SQLSTATE' in substitutions: runtime error must not be suppressed. Added 'combine_output = True' in order to see SQLSTATE if any error occurs. 2023-12-16 12:58:45 +03:00
pavel-zotov
7b6d3b5d90 Added/Updated tests\functional\datatypes\test_decfloat_binding_to_other_types.py: Added 'SQLSTATE' in substitutions: runtime error must not be suppressed. Added 'combine_output = True' in order to see SQLSTATE if any error occurs. 2023-12-16 12:55:46 +03:00
Pavel Zotov
042a609aff
Merge pull request #20 from FirebirdSQL/work/docker
Make it possible to run with docker in Linux
2023-12-16 12:46:24 +03:00
pavel-zotov
56b765306e Added/Updated tests\functional\arno\optimizer\test_opt_inner_join_05.py: adjusted expected output according to recent FB 5.x and 6.x versions. Re-implemented: check explained plan instead of legacy one. Data not shown. See notes. 2023-12-15 14:31:56 +03:00
pavel-zotov
c0ffb0fbce Added/Updated tests\functional\database\create\test_12.py: set SKIP mark because this test has been replaced with 'test_00.py' 2023-12-14 21:58:18 +03:00
pavel-zotov
50ce0edc74 Added/Updated tests\functional\database\create\test_07.py: set SKIP mark because this test has been replaced with 'test_00.py' 2023-12-14 21:58:08 +03:00
pavel-zotov
db53bf32ea Added/Updated tests\functional\database\create\test_06.py: set SKIP mark because this test has been replaced with 'test_00.py' 2023-12-14 21:58:01 +03:00
pavel-zotov
8c43c9cb33 Added/Updated tests\functional\database\create\test_05.py: set SKIP mark because this test has been replaced with 'test_00.py' 2023-12-14 21:57:52 +03:00
pavel-zotov
cc5a485801 Added/Updated tests\functional\database\create\test_04.py: set SKIP mark because this test has been replaced with 'test_00.py' 2023-12-14 21:57:44 +03:00
pavel-zotov
927fa97554 Added/Updated tests\functional\database\create\test_03.py: set SKIP mark because this test has been replaced with 'test_00.py' 2023-12-14 21:57:33 +03:00
pavel-zotov
9eabcba185 Added/Updated tests\functional\database\create\test_00.py: common test for diff values of page_size. Replacement for old tests - see notes. 2023-12-14 21:53:33 +03:00
pavel-zotov
642cf2e7c4 Added/Updated tests\functional\basic\isql\test_03.py: removed old comment 2023-12-14 20:57:47 +03:00
pavel-zotov
7624cc770b Added/Updated tests\functional\basic\isql\test_07.py: Added 'SQLSTATE' in substitutions: runtime error must not be suppressed. Removed 'pytest.skip' for FB 5.x+ because this feature was frontported to these FB versions. 2023-12-14 20:55:43 +03:00
pavel-zotov
b91dd051fa Added/Updated tests\functional\gtcs\test_misplaced_collation_in_extracted_metadata.py: adjusted inner ID and notes 2023-12-12 11:01:47 +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
Adriano dos Santos Fernandes
2c87e4fdf1 Add missing file. 2023-12-08 22:59:35 -03:00
pavel-zotov
c7a89c646e Added/Updated tests\functional\basic\isql\test_08.py: Added 'SQLSTATE' and 'error' to the list of tokens in substitutions which must NOT be filtered out. See other notes. 2023-12-08 16:36:25 +03:00
pavel-zotov
20dfe08227 Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_max_limit.py: restored full set of options to be checked 2023-12-02 09:01:50 +03:00
pavel-zotov
63b7901bdd Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_max_limit.py: Checked on 6.0.0.163, 5.0.0.1284. RE-IMPLEMENTED. See notes about comments handling by ISQL after implementation of SET AUTOTERM, PR #7868 2023-12-02 00:08:06 +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
173f5a2def Added/Updated tests\functional\basic\isql\test_autoterm_03.py: Checked on 6.0.0.154. See notes 2023-11-27 22:03:52 +03:00
pavel-zotov
980c893b9e Added/Updated tests\functional\util\test_gbak_zip.py: Writing code requires more care since 6.0.0.150: ISQL does not allow specifying duplicate delimiters without any statements between them (two semicolon, two carets etc). 2023-11-26 01:02:31 +03:00
pavel-zotov
9753ae2a69 Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_update_01.py: removed unneeded expr 2023-11-26 00:59:37 +03:00
pavel-zotov
4ead2c2667 Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_update_04.py: minor change: added comments 2023-11-26 00:58:16 +03:00
pavel-zotov
cb59e14caa Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_merge_04.py: Writing code requires more care since 6.0.0.150: ISQL does not allow specifying duplicate delimiters without any statements between them (two semicolon, two carets etc). Merge expression defined in 'SQL_TO_BE_RESTARTED' must NOT end with semicolon 2023-11-26 00:56:49 +03:00
pavel-zotov
2778a39a9b Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_merge_03.py: Writing code requires more care since 6.0.0.150: ISQL does not allow specifying duplicate delimiters without any statements between them (two semicolon, two carets etc). Merge expression defined in 'SQL_TO_BE_RESTARTED' must NOT end with semicolon 2023-11-26 00:55:15 +03:00
pavel-zotov
3e3a3dd666 Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_merge_02.py: Writing code requires more care since 6.0.0.150: ISQL does not allow specifying duplicate delimiters without any statements between them (two semicolon, two carets etc). Merge expression defined in 'SQL_TO_BE_RESTARTED' must NOT end with semicolon 2023-11-26 00:54:23 +03:00
pavel-zotov
02b4278725 Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_merge_01.py: Writing code requires more care since 6.0.0.150: ISQL does not allow specifying duplicate delimiters without any statements between them (two semicolon, two carets etc). Merge expression defined in 'SQL_TO_BE_RESTARTED' must NOT end with semicolon 2023-11-26 00:53:24 +03:00
pavel-zotov
5d853cd444 Added/Updated tests\functional\transactions\test_read_consist_sttm_merge_deny_multiple_matches.py: Writing code requires more care since 6.0.0.150: ISQL does not allow specifying duplicate delimiters without any statements between them (two semicolon, two carets etc). Merge expression defined in 'SQL_TO_BE_RESTARTED' must NOT end with semicolon 2023-11-26 00:49:51 +03:00
pavel-zotov
6b9b99b0f7 Same correction: writing code requires more care since 6.0.0.150: ISQL does not allow to specify THE SAME terminator twice 2023-11-26 00:42:52 +03:00
pavel-zotov
13a43748c4 Added/Updated tests\functional\tabloid\test_join_transformation_002.py: Writing code requires more care since 6.0.0.150: ISQL does not allow to specify THE SAME terminator twice 2023-11-26 00:40:02 +03:00
pavel-zotov
7395da09e2 Added/Updated tests\functional\tabloid\test_join_transformation_001.py: Writing code requires more care since 6.0.0.150: ISQL does not allow to specify THE SAME terminator twice 2023-11-26 00:39:14 +03:00
pavel-zotov
0d3d3f186c Added/Updated tests\functional\gtcs\test_time_zone.py: removed wrong start o multi-line comment that had no appropriate end. Adjusted expected_out to actual results. 2023-11-26 00:36:59 +03:00
pavel-zotov
e6fcd41311 Added/Updated tests\functional\gtcs\test_computed_fields_16.py: added substitutions in order to avoid dependency on line/column numbers 2023-11-26 00:26:16 +03:00
pavel-zotov
3c00e1998c Updated tests\functional\basic\isql\test_00.py: adjust expected stdout/stderr to current FB version. 2023-11-26 00:22:14 +03:00
pavel-zotov
be937b7214 Added/Updated tests\functional\basic\isql\test_autoterm_02.py: Checked on 6.0.0.139. Check ability to handle long DDL in one line without 'set term'. 2023-11-23 22:06:20 +03:00
pavel-zotov
26b89416bd Added/Updated tests\functional\basic\isql\test_autoterm_01.py: Checked on 6.0.0.139. Basic test. 2023-11-23 22:05:55 +03:00
pavel-zotov
e33c46eb86 Added/Updated tests\functional\tabloid\test_333be4bf.py: added user/password pair to gbak call 2023-11-19 13:11:23 +03:00
pavel-zotov
b0cf00c942 Added/Updated tests\functional\tabloid\test_333be4bf.py: Checked on 5.0.0.1271 (CS/SS), 6.0.0.132 (CS/SS) 2023-11-18 23:32:48 +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
50cee0ddcd Added/Updated tests\functional\tabloid\test_comment_in_object_names.py: added 'combine_output = True' to show the result when the test fails 2023-10-09 12:14:46 +03:00
pavel-zotov
0875bebc8c Added/Updated tests\functional\domain\create\test_31.py: Removed SHOW command for check result because its output often changes. It is enough for this test to obtain similar data from RDB tables. Created view and stored function to obtain type name by rdb$fields.rdb$field_type and .rdb$field_sub_type. 2023-10-09 11:11:23 +03:00
pavel-zotov
fa5337f1cf Added/Updated tests\functional\domain\create\test_28.py: Replaced TITLE according to essence: we have to check ability to specify NUMERIC index for domain sub_type. 2023-10-09 10:54:16 +03:00
pavel-zotov
6369ebc7d8 Added/Updated tests\functional\domain\create\test_27.py: Replaced TITLE according to essence: we have to check ability to specify NUMERIC index for domain sub_type. 2023-10-09 10:50:58 +03:00
pavel-zotov
932a2c5d5c Added/Updated tests\functional\domain\create\test_27.py: Removed SHOW command for check result because its output often changes. It is enough for this test to obtain similar data from RDB tables. Created view and stored function to obtain type name by rdb$fields.rdb$field_type and .rdb$field_sub_type. 2023-10-09 10:43:29 +03:00
pavel-zotov
ad6641ad8a Added/Updated tests\functional\view\create\test_10.py: Test not needed: there are lot tests which use this functionality. 2023-10-07 22:43:31 +03:00
pavel-zotov
5b6507ac3d Added/Updated tests\functional\table\create\test_03.py: added SKIP mark: this test will be fully re-implemented later. Currently SHOW TABLE command brokes it. 2023-10-07 22:42:00 +03:00
pavel-zotov
4c49623f34 Added/Updated tests\functional\table\create\test_02.py: added SKIP mark: this test will be fully re-implemented later. Currently SHOW TABLE command brokes it. 2023-10-07 22:41:02 +03:00
pavel-zotov
0f5d4eb1fb Added/Updated tests\functional\table\create\test_01.py: Removed SHOW command for check result because its output often changes. It is enough for this test to obtain similar data from RDB tables. Created view and stored function to obtain type name by rdb$fields.rdb$field_type and .rdb$field_sub_type. 2023-10-07 13:57:46 +03:00
pavel-zotov
9c7b98a00d Added/Updated tests\functional\table\alter\test_11.py: Removed SHOW command for check result because its output often changes. It is enough for this test to obtain similar data from RDB tables. Created view and stored function to obtain type name by rdb$fields.rdb$field_type and .rdb$field_sub_type. 2023-10-07 13:21:25 +03:00
pavel-zotov
efe86d26e8 Added/Updated tests\functional\table\alter\test_10.py: Removed SHOW command for check result because its output often changes. It is enough for this test to obtain similar data from RDB tables. Created view and stored function to obtain type name by rdb$fields.rdb$field_type and .rdb$field_sub_type. 2023-10-07 13:17:48 +03:00
pavel-zotov
66da0b53ad Added/Updated tests\functional\table\alter\test_07.py: Removed SHOW command for check result because its output often changes. It is enough for this test to obtain similar data from RDB tables. Created view and stored function to obtain type name by rdb$fields.rdb$field_type and .rdb$field_sub_type. 2023-10-07 13:12:57 +03:00
pavel-zotov
a4ea7d921d Added/Updated tests\functional\table\alter\test_06.py: Removed SHOW command for check result because its output often changes. It is enough for this test to obtain similar data from RDB tables. Created view and stored function to obtain type name by rdb$fields.rdb$field_type and .rdb$field_sub_type. 2023-10-07 13:07:44 +03:00
pavel-zotov
fe5d398207 Added/Updated tests\functional\table\alter\test_01.py: added forgotten sub-section title (NOTES) 2023-10-07 13:00:37 +03:00
pavel-zotov
0a28e27e90 Added/Updated tests\functional\table\alter\test_02.py: Changed datatype from text to integer (SHOW command output often changes for textual fields). 2023-10-07 12:59:32 +03:00
pavel-zotov
a98430a677 Added/Updated tests\functional\table\alter\test_01.py: Removed SHOW command for check result because its output often changes. It is enough for this test to obtain similar data from RDB tables. Created view and stored function to obtain type name by rdb$fields.rdb$field_type and .rdb$field_sub_type. 2023-10-07 12:52:34 +03:00
pavel-zotov
e33fe939cb Updated tests\functional\procedure\create\test_03.py: adjust expected stdout/stderr to current FB version. 2023-10-07 12:32:38 +03:00
pavel-zotov
0814c1ed92 Updated tests\functional\procedure\create\test_02.py: adjust expected stdout/stderr to current FB version. 2023-10-07 12:31:26 +03:00
pavel-zotov
5202752942 renamed the file so that the new name reflects the essence of the test. 2023-10-07 12:19:32 +03:00
pavel-zotov
c3c9c9762e Added/Updated tests\functional\gtcs\test_isql_show_command_collation.py: refactored: removed SHOW commands. It is enough to extract metadata and APPLY it to test DB. See notes. 2023-10-07 12:15:24 +03:00
pavel-zotov
c6e6ebe531 Added/Updated tests\functional\domain\create\test_40.py: Removed SHOW command for check result because its output often changes. It is enough for this test to obtain similar data from RDB tables. Created view and stored function to obtain type name by rdb$fields.rdb$field_type and .rdb$field_sub_type. 2023-10-07 11:45:56 +03:00
pavel-zotov
c2b58de0e6 Added/Updated tests\functional\domain\create\test_39.py: added SKIP mark. Test is covered by bugs/core_6336_test.py and some tests from domain/cretate/ which check text-based domains. 2023-10-07 11:32:06 +03:00
pavel-zotov
8bd09eeb13 Added/Updated tests\functional\domain\create\test_32.py: Fixed wrong datatype: need to check VARCHAR instead of BLOB. 2023-10-07 10:55:52 +03:00
pavel-zotov
c45ebd2333 Added/Updated tests\functional\domain\create\test_33.py: Fixed wrong datatype: need to check VARCHAR instead of BLOB. 2023-10-07 10:54:52 +03:00
pavel-zotov
c96c46364b Added/Updated tests\functional\domain\create\test_34.py: Fixed wrong datatype: need to check VARCHAR instead of BLOB. 2023-10-07 10:53:54 +03:00
pavel-zotov
820113048b Added/Updated tests\functional\domain\create\test_36.py: Fixed wrong datatype: need to check VARCHAR instead of BLOB. 2023-10-07 10:52:42 +03:00
pavel-zotov
9025e12972 Added/Updated tests\functional\domain\create\test_37.py: Fixed wrong datatype: need to check VARCHAR instead of BLOB. 2023-10-07 10:50:58 +03:00
pavel-zotov
2ebc5bf3fd Added/Updated tests\functional\domain\create\test_38.py: Removed SHOW command for check result because its output often changes. It is enough for this test to obtain similar data from RDB tables. Created view and stored function to obtain type name by rdb$fields.rdb$field_type and .rdb$field_sub_type. 2023-10-07 10:48:27 +03:00
pavel-zotov
ca3ea0decd Added/Updated tests\functional\domain\create\test_37.py: Removed SHOW command for check result because its output often changes. It is enough for this test to obtain similar data from RDB tables. Created view and stored function to obtain type name by rdb$fields.rdb$field_type and .rdb$field_sub_type. 2023-10-07 10:33:25 +03:00
pavel-zotov
995a2ce590 Added/Updated tests\functional\domain\create\test_36.py: Removed SHOW command for check result because its output often changes. It is enough for this test to obtain similar data from RDB tables. Created view and stored function to obtain type name by rdb$fields.rdb$field_type and .rdb$field_sub_type. 2023-10-07 02:56:16 +03:00
pavel-zotov
b57870beb4 Added/Updated tests\functional\domain\create\test_35.py: added SKIP mark: this test is covered by test_26.py and test_29.py 2023-10-07 02:08:24 +03:00
pavel-zotov
ae03b21af9 Added/Updated tests\functional\domain\create\test_34.py: Removed SHOW command for check result because its output often changes. It is enough for this test to obtain similar data from RDB tables. Created view and stored function to obtain type name by rdb$fields.rdb$field_type and .rdb$field_sub_type. 2023-10-07 02:07:06 +03:00
pavel-zotov
8937d25bff Added/Updated tests\functional\domain\create\test_33.py: Removed SHOW command for check result because its output often changes. It is enough for this test to obtain similar data from RDB tables. Created view and stored function to obtain type name by rdb$fields.rdb$field_type and .rdb$field_sub_type. 2023-10-07 02:04:16 +03:00
pavel-zotov
14471a3130 Added/Updated tests\functional\domain\create\test_32.py: Removed SHOW command for check result because its output often changes. It is enough for this test to obtain similar data from RDB tables. Created view and stored function to obtain type name by rdb$fields.rdb$field_type and .rdb$field_sub_type. 2023-10-07 02:02:07 +03:00
pavel-zotov
ce61a1c0fc Added/Updated tests\functional\domain\create\test_30.py: added SKIP mark: this test is covered by test_26.py and test_29.py 2023-10-07 01:48:28 +03:00
pavel-zotov
b61a2c0a0c Added/Updated tests\functional\domain\create\test_29.py: Removed SHOW command for check result because its output often changes. It is enough for this test to obtain similar data from RDB tables. Created view and stored function to obtain type name by rdb$fields.rdb$field_type and .rdb$field_sub_type. 2023-10-07 01:33:24 +03:00
pavel-zotov
f7db9a128f Added/Updated tests\functional\domain\create\test_26.py: Removed SHOW command for check result because its output often changes. It is enough for this test to obtain similar data from RDB tables. Created view and stored function to obtain type name by rdb$fields.rdb$field_type and .rdb$field_sub_type. 2023-10-07 01:23:25 +03:00
pavel-zotov
cdf44e6503 Added/Updated tests\functional\domain\create\test_19.py: Removed SHOW command for check result because its output often changes. It is enough for this test to obtain similar data from RDB tables. Created view and stored function to obtain type name by rdb$fields.rdb$field_type and .rdb$field_sub_type. 2023-10-07 01:06:01 +03:00
pavel-zotov
ee40e302f8 Added/Updated tests\functional\domain\create\test_18.py: minor change: added comment 2023-10-07 00:57:55 +03:00
pavel-zotov
d5adfa9ecc Added/Updated tests\functional\domain\create\test_18.py: Removed SHOW command for check result because its output often changes. It is enough for this test to obtain similar data from RDB tables. Created view and stored function to obtain type name by rdb$fields.rdb$field_type and .rdb$field_sub_type. 2023-10-07 00:49:51 +03:00
pavel-zotov
46a65575be Added/Updated tests\functional\domain\create\test_17.py: Removed SHOW command for check result because its output often changes. See notes. 2023-10-06 16:04:29 +03:00
pavel-zotov
3c5cc4e31b Added/Updated tests\functional\domain\create\test_16.py: Removed SHOW command for check result because its output often changes. See notes. 2023-10-06 15:50:35 +03:00
pavel-zotov
b5078cdf48 Added/Updated tests\functional\domain\create\test_15.py: Removed SHOW command for check result because its output often changes. It is enough for this test to obtain similar data from RDB tables. 2023-10-06 14:19:20 +03:00
pavel-zotov
23acc4e983 Added/Updated tests\functional\procedure\create\test_15.py: Test not needed, see test_02.py and test_03.py. Added mark.skip(). 2023-09-30 11:35:57 +03:00
pavel-zotov
d27e02648e Added/Updated tests\functional\procedure\create\test_03.py: Added all supported data types that did appear since FB 4.x. Expected output differ in FB 3.x vs 4.x/5.x vs 6.x. Added splitting. 2023-09-30 11:32:36 +03:00
pavel-zotov
2f563be3e9 Added/Updated tests\functional\procedure\create\test_02.py: minor change: aded forgotten substitution 2023-09-30 11:20:34 +03:00
pavel-zotov
0e345c8698 Added/Updated tests\functional\procedure\create\test_02.py: Added all supported data types that did appear since FB 4.x. Expected output differ in FB 3.x vs 4.x/5.x vs 6.x. Added splitting. 2023-09-30 11:19:39 +03:00
pavel-zotov
4f0d7d88b5 Updated tests\functional\basic\isql\test_02.py: adjust expected stdout/stderr to current FB version. 2023-09-30 10:40:46 +03:00
pavel-zotov
89ac37919c Updated tests\functional\basic\isql\test_00.py: adjust expected stdout/stderr to current FB version. 2023-09-30 10:35:17 +03:00
pavel-zotov
78dc4bafd8 Added/Updated tests\functional\transactions\test_read_consist_sttm_merge_deny_multiple_matches.py: one more re-implementing in order to prevent raises and get execution order predictable. See notes. 2023-09-29 17:10:55 +03:00
pavel-zotov
57d84b449d Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_max_limit.py: one more re-implementing in order to prevent raises and get execution order predictable. See notes. 2023-09-27 11:25:58 +03:00
pavel-zotov
d1e428111d Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_merge_03.py: restored substitutions which have been commented for debug 2023-09-26 13:12:04 +03:00
pavel-zotov
1acccdf888 Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_merge_02.py: restored substitutions which have been commented for debug 2023-09-26 12:59:48 +03:00
pavel-zotov
1d9a570c35 Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_merge_01.py: one more re-implementing in order to prevent raises and get execution order predictable. See notes. 2023-09-26 12:27:10 +03:00
pavel-zotov
4edaf5b7f8 Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_delete_03.py: one more re-implementing in order to prevent raises and get execution order predictable. See notes. 2023-09-26 11:43:39 +03:00
pavel-zotov
d36db9712a Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_delete_02.py: one more re-implementing in order to prevent raises and get execution order predictable. See notes. 2023-09-26 11:28:59 +03:00
pavel-zotov
3ba2df6b63 Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_delete_01.py: restored substitutions which have been commented for debug 2023-09-26 11:11:33 +03:00
pavel-zotov
2611ad109c Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_delete_01.py: one more re-implementing in order to prevent raises and get execution order predictable. See notes. 2023-09-26 11:09:59 +03:00
pavel-zotov
23f4b76a48 Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_update_03.py: one more re-implementing in order to prevent raises and get execution order predictable. See notes. 2023-09-26 10:54:43 +03:00
pavel-zotov
9fb038aedf Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_update_02.py: one more re-implementing in order to prevent raises and get execution order predictable. See notes. 2023-09-26 01:55:14 +03:00
pavel-zotov
0b2f313971 Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_update_01.py: restored substitutions which have been commented for debug 2023-09-25 22:30:24 +03:00
pavel-zotov
8dbe8d7b67 Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_update_01.py: one more re-implementing in order to prevent raises and get execution order predictable. See notes. 2023-09-25 22:22:17 +03:00
pavel-zotov
fb18a3ea23 Adjusted info about minimal build numbers of FB 4.x and 5.x that can be used for these tests 2023-09-25 21:59:36 +03:00
pavel-zotov
96230acefb Added/Updated tests\functional\transactions\test_read_consist_statement_delete_undone_01.py: cleanup, added comments, adjust min_version to 4.0.3 because of using trace with watching for EXECUTE_STATEMENT_RESTART event that first appeared in 4.0.2.2807 2023-09-25 21:37:09 +03:00
pavel-zotov
f27e30a24a Added/Updated tests\functional\transactions\test_read_consist_statement_delete_undone_02.py: one more re-implementing in order to prevent raises and get execution order predictable. See notes. 2023-09-25 21:33:00 +03:00
pavel-zotov
b5282e080c Added/Updated tests\functional\transactions\test_read_consist_statement_delete_undone_01.py: restored substitutions which have been commented for debug 2023-09-25 21:03:29 +03:00
pavel-zotov
3bfca00d36 Added/Updated tests\functional\transactions\test_read_consist_statement_delete_undone_01.py: one more re-implementing in order to prevent raises and get execution order predictable. See notes. 2023-09-25 20:33:28 +03:00
pavel-zotov
44098cdfba Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_merge_04.py: one more re-implementing in order to prevent raises and get execution order predictable. See notes. 2023-09-25 14:58:15 +03:00
pavel-zotov
d60709d08d Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_delete_04.py: removed unneded block 2023-09-25 14:23:15 +03:00
pavel-zotov
4066b05eaa Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_delete_04.py: one more re-implementing in order to prevent raises and get execution order predictable. See notes. 2023-09-25 14:22:20 +03:00
pavel-zotov
da9edd067d Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_update_04.py: one more re-implementing in order to prevent raises and get execution order predictable. See notes. 2023-09-25 02:18:42 +03:00
pavel-zotov
f7714da147 Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_max_limit.py: added pytest.mark.skip tag 2023-09-24 17:09:36 +03:00
pavel-zotov
5c63d404db Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_update_01.py: removed pytest.mark.skip tag 2023-09-24 17:09:08 +03:00
pavel-zotov
dd89167945 Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_max_limit.py: TEST MUST BE REIMPLEMENTED. Currently only replaced verification method of worker attachment presense (which tries DML and waits for resource). 2023-09-23 23:38:47 +03:00
pavel-zotov
a7af825275 Added/Updated tests\functional\transactions\test_read_consist_sttm_merge_deny_multiple_matches.py: Replaced verification method of worker attachment presense (which tries DML and waits for resource). Loop with query to mon$statements is used instead. Maximal duration of this loop is limited - see notes. 2023-09-23 22:59:37 +03:00
pavel-zotov
ac4ba3ba0c Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_update_04.py: Replaced verification method of worker attachment presense (which tries DML and waits for resource). Loop with query to mon$statements is used instead. Maximal duration of this loop is limited - see notes. 2023-09-23 22:55:50 +03:00
pavel-zotov
8df943a710 Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_update_03.py: Replaced verification method of worker attachment presense (which tries DML and waits for resource). Loop with query to mon$statements is used instead. Maximal duration of this loop is limited - see notes. 2023-09-23 22:51:31 +03:00
pavel-zotov
a90f57e309 Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_update_02.py: minor change: added forgotten call to func 'wait_for_attach_showup_in_monitoring()' 2023-09-23 22:50:18 +03:00
pavel-zotov
8a5a65cdb4 Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_update_02.py: Replaced verification method of worker attachment presense (which tries DML and waits for resource). Loop with query to mon$statements is used instead. Maximal duration of this loop is limited - see notes. 2023-09-23 22:47:02 +03:00
pavel-zotov
50d446bb0c Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_update_01.py: Replaced verification method of worker attachment presense (which tries DML and waits for resource). Loop with query to mon$statements is used instead. Maximal duration of this loop is limited - see notes. 2023-09-23 22:43:26 +03:00
pavel-zotov
1bd26f85b4 Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_merge_04.py: Replaced verification method of worker attachment presense (which tries DML and waits for resource). Loop with query to mon$statements is used instead. Maximal duration of this loop is limited - see notes. 2023-09-23 22:36:26 +03:00
pavel-zotov
05f77f0d7f Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_merge_03.py: Replaced verification method of worker attachment presense (which tries DML and waits for resource). Loop with query to mon$statements is used instead. Maximal duration of this loop is limited - see notes. 2023-09-23 22:32:30 +03:00
pavel-zotov
d826a44139 Added/Updated tests\functional\transactions\test_read_consist_sttm_restart_on_merge_02.py: Replaced verification method of worker attachment presense (which tries DML and waits for resource). Loop with query to mon$statements is used instead. Maximal duration of this loop is limited - see notes. 2023-09-23 22:28:51 +03:00