1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-05 11:00:22 +02:00
Commit Graph

828 Commits

Author SHA1 Message Date
Grigory Smolkin
544de123a4 [Issue #102] now it is possible to set restore_command via set-config 2019-10-03 23:56:47 +03:00
Grigory Smolkin
4cf86c50c0 tests: minor fix 2019-10-02 17:30:55 +03:00
Grigory Smolkin
7121f04e71 [Issue #102] New options for 'restore' command used for setting 'restore_command' GUC in recovery.conf: '--archive-host', '--archive-post', 'archive-user' and '--restore-command' 2019-09-23 15:20:07 +03:00
Grigory Smolkin
b1975e3ba4 tests: added archive.ArchiveTest.test_archive_catalog_1 and archive.ArchiveTest.test_archive_catalog_2 2019-09-20 15:51:12 +03:00
Grigory Smolkin
a363405aec tests: minor fixes 2019-09-18 18:33:28 +03:00
Grigory Smolkin
3fa01d3236 tests: minor fix 2019-09-17 17:37:18 +03:00
Grigory Smolkin
d34a6a3ad8 [Issue #116] WAL archive information 2019-09-17 17:35:27 +03:00
Grigory Smolkin
2413516389 tests: added set_auto_conf() 2019-09-14 02:49:41 +03:00
Grigory Smolkin
9f817080e6 Merge branch 'issue_115' 2019-09-06 14:43:37 +03:00
Grigory Smolkin
a98ff6154a [Issue #115]: some improvements of sanity and comments. Also do not wait for NullOffset LSN when looking for previous record 2019-09-06 13:20:42 +03:00
Grigory Smolkin
3093bb91b7 tests: minor fix 2019-09-05 15:57:21 +03:00
Grigory Smolkin
d656405432 [Issue #117] fix tests 2019-09-05 15:43:32 +03:00
Grigory Smolkin
8630b0d1a3 [Issue #117] test coverage 2019-09-05 13:54:28 +03:00
Grigory Smolkin
be339bf406 tests: minor fix 2019-09-05 13:09:13 +03:00
Grigory Smolkin
a42ebbff0c tests: minor fixes 2019-09-05 11:12:17 +03:00
Grigory Smolkin
18211c5f18 [Issue #115] test coverage 2019-09-05 09:30:45 +03:00
Grigory Smolkin
b278a2fbf5 tests: minor fixes 2019-08-29 23:05:53 +03:00
Grigory Smolkin
5e618d44c5 tests: added retention.RetentionTest.test_failed_merge_redundancy_retention 2019-08-28 20:12:13 +03:00
Grigory Smolkin
8c570b57f1 tests: detect missing backup in case of using "show" with "--backup-id" option 2019-08-28 20:08:42 +03:00
Grigory Smolkin
2286c4bfe8 [Issue #112] tests: added time_stamp.CheckTimeStamp.test_server_date_style 2019-08-28 13:10:09 +03:00
Grigory Smolkin
dd124b34d9 [Issue #113] improve test coverage 2019-08-27 20:01:38 +03:00
Grigory Smolkin
a0dc029d32 Merge branch 'master' into issue_90 2019-08-12 19:17:41 +03:00
Grigory Smolkin
57d3e12584 tests: fixes 2019-08-11 13:54:58 +03:00
Grigory Smolkin
454eeac8f8 tests: added validate.ValidateTest.test_partial_validate_exclude and validate.ValidateTest.test_partial_validate_include 2019-08-09 20:40:01 +03:00
Grigory Smolkin
01e57eafba Merge branch 'master' into issue_79 2019-08-09 14:10:54 +03:00
Grigory Smolkin
87f214ef72 tests: added validate.ValidateTest.test_recovery_target_lsn_backup_victim 2019-08-09 13:24:55 +03:00
Anastasia
037b7cf53b Merge branch 'master' into issue_79 2019-08-08 15:31:16 +03:00
Grigory Smolkin
736fc414ef tests: do not run some tests on Windows 2019-08-06 19:21:52 +03:00
Grigory Smolkin
0b4d09e262 [Issue #109] added test validate.ValidateTest.test_recovery_target_backup_victim 2019-08-06 19:09:17 +03:00
Grigory Smolkin
11c02e9b91 [Issue #108] added test validate.ValidateTest.test_validate_target_lsn 2019-08-06 11:58:57 +03:00
Grigory Smolkin
8b15753a04 tests: added retention.RetentionTest.test_wal_purge_victim 2019-08-06 00:01:05 +03:00
Grigory Smolkin
535e417ba8 tests: added retention.RetentionTest.test_agressive_retention_window_purge 2019-08-05 23:35:51 +03:00
Anastasia
4611ee38f8 Merge branch 'master' into issue_79 2019-08-05 14:30:18 +03:00
Grigory Smolkin
142540705d tests: added retention.RetentionTest.test_window_error_backups_1 and retention.RetentionTest.test_window_error_backups_2 2019-08-01 23:57:14 +03:00
Grigory Smolkin
8623628839 Merge branch 'master' into issue_79 2019-07-30 16:02:28 +03:00
Grigory Smolkin
cbef806824 tests: minor fix 2019-07-27 05:57:52 +03:00
Grigory Smolkin
b55bfe82be Version 2.1.5 2019-07-26 11:05:19 +03:00
Grigory Smolkin
79f6733469 Merge branch 'master' into issue_79 2019-07-24 00:36:03 +03:00
Grigory Smolkin
db73f84057 [Issue #101] Multiple spelling fixes. Reported by Alexander Lakhin 2019-07-23 20:11:11 +03:00
Grigory Smolkin
05e1ec1754 tests: added backup.BackupTest.test_backup_with_less_privileges_role 2019-07-23 11:05:59 +03:00
Grigory Smolkin
2ec247d2cb tests: minor fixes 2019-07-20 06:32:52 +03:00
Grigory Smolkin
ab2d595a02 tests: fixes 2019-07-19 20:05:30 +03:00
Grigory Smolkin
bb6d32fd33 Release 2.1.4 2019-07-19 12:20:39 +03:00
Grigory Smolkin
8fb9f94c6d tests: fix for backup.BackupTest.test_backup_detect_corruption 2019-07-16 01:18:00 +03:00
Grigory Smolkin
69eed7acb5 tests: minor fixes for "archive" module 2019-07-15 19:24:31 +03:00
Grigory Smolkin
b41bc03be3 tests: fixes for module "pgpro560" 2019-07-14 13:46:28 +03:00
Grigory Smolkin
25fd9280c1 tests: minor fix 2019-07-14 03:07:52 +03:00
Grigory Smolkin
b38692f464 tests: now ptrack tests by default are disabled, they can be enables via PG_PROBACKUP_PTRACK env variable. Multiple fixes, especially for PG 9.5 2019-07-12 18:01:28 +03:00
Grigory Smolkin
3c05d87708 tests: minor fixes for 9.5 version 2019-07-08 19:47:27 +03:00
Grigory Smolkin
433d7bdc6a tests: fix expected results 2019-07-08 16:02:30 +03:00
Grigory Smolkin
b598c2987c tests: minor fixes 2019-07-08 02:41:20 +03:00
Grigory Smolkin
99938658c6 tests: minor fixes 2019-07-07 17:31:42 +03:00
Grigory Smolkin
3a0046e686 [Issue #90] tests fix 2019-07-05 00:25:36 +03:00
Grigory Smolkin
eac3d8a1d0 Merge branch 'master' into issue_92 2019-07-03 21:11:39 +03:00
Grigory Smolkin
b231d845f3 tests: added backup.BackupTest.test_backup_truncate_misaligned 2019-07-03 18:06:47 +03:00
Grigory Smolkin
c3d89c2552 tests: minor fixes in module "archive" 2019-07-03 18:00:15 +03:00
Grigory Smolkin
61282253db tests: minor fix for basic tests suit 2019-07-03 17:58:36 +03:00
Grigory Smolkin
f87fd1b2ac tests: added replica.ReplicaTest.test_replica_promote 2019-07-03 17:57:11 +03:00
Grigory Smolkin
265837b106 tests: minor fixes 2019-07-01 16:24:57 +03:00
Grigory Smolkin
361af245df tests: remove compatibility.CompatibilityTest.test_backup_concurrent_drop_table 2019-07-01 15:15:42 +03:00
Grigory Smolkin
6caf77ebbe tests: minor fixes 2019-06-29 03:19:31 +03:00
Grigory Smolkin
c069399f41 Merge branch 'master' into issue_92 2019-06-28 01:16:46 +03:00
Grigory Smolkin
eb2a397a01 tests: minor fixes for corruption detection 2019-06-28 01:16:10 +03:00
Grigory Smolkin
500e8b9ca3 Merge branch 'master' into issue_92 2019-06-28 01:07:51 +03:00
Grigory Smolkin
4a3ac209e0 tests: added backup.BackupTest.test_backup_detect_corruption 2019-06-28 00:41:14 +03:00
Grigory Smolkin
a5eb8db914 [Issue #92] Refactoring of catalog_get_last_data_backup(). First we look for latest valid FULL backup, he is the chain ancestor. Then latest valid child of chain ancestor becomes the parent of current backup. 2019-06-27 19:43:03 +03:00
Grigory Smolkin
4217bc2c22 [Issue #92] Overlapping chains and retention redundancy 2019-06-27 13:09:42 +03:00
Grigory Smolkin
54737fb8f4 tests: added retention.RetentionTest.test_retention_redundancy_overlapping_chains 2019-06-27 01:41:21 +03:00
Grigory Smolkin
341b612520 tests: added tests.backup.BackupTest.test_backup_with_least_privileges_role 2019-06-24 20:08:03 +03:00
Grigory Smolkin
f6ec367700 tests: fixes for ".partial" tests 2019-06-20 16:39:54 +03:00
Grigory Smolkin
66ad28201e tests: for ".partial" WAL file 2019-06-20 06:54:11 +03:00
Grigory Smolkin
5c751cbac7 tests: fix tests.validate.ValidateTest.test_validate_corrupt_tablespace_map 2019-06-18 20:51:10 +03:00
Grigory Smolkin
ad582b45d3 tests: fix permission issue in external module 2019-06-18 18:54:28 +03:00
Grigory Smolkin
ae19a99893 [Issue #79] minor fixes 2019-06-11 09:55:05 +03:00
Grigory Smolkin
e58cf5b776 tests: more tests for partial restore 2019-06-10 21:03:34 +03:00
Grigory Smolkin
cb37bf8ecb Merge branch 'master' into issue_79 2019-06-10 21:00:58 +03:00
Grigory Smolkin
dd2d85d11f tests: added truncate_every_file_in_dir 2019-06-10 20:56:01 +03:00
Grigory Smolkin
a4df3b4178 [Issue #79] added tests for partial restore 2019-06-07 03:18:49 +03:00
Grigory Smolkin
29bbcf9b82 tests: minor fixes 2019-06-05 16:41:36 +03:00
Grigory Smolkin
5814327593 tests: fix backup.BackupTest.test_sigint_handling 2019-06-05 12:51:00 +03:00
Grigory Smolkin
2050cc0350 tests: fix module pgpro2068 2019-06-05 01:43:55 +03:00
Grigory Smolkin
c92e10d52b tests: added validate.ValidateTest.test_validate_corrupt_tablespace_map 2019-06-04 21:12:20 +03:00
Grigory Smolkin
513bc487c2 tests: remove psycopg2 2019-06-01 15:00:32 +03:00
Grigory Smolkin
b4442c5762 tests: added external.ExternalTest.test_external_validation 2019-06-01 12:07:09 +03:00
Anastasia
30126c6eb5 Refactoring of checkdb. Move code to a separate file, improve error messages 2019-05-31 18:15:43 +03:00
Grigory Smolkin
2ac21b541d Release 2.1.3 2019-05-30 14:19:02 +03:00
Grigory Smolkin
2d7e60f9b1 tests: minor fixes 2019-05-29 18:49:38 +03:00
Grigory Smolkin
fcc1c4b939 tests: fix checkdb tests 2019-05-29 12:09:53 +03:00
Grigory Smolkin
64550a6675 tests: added backup.BackupTest.test_basic_missing_dir_permissions and backup.BackupTest.test_basic_missing_file_permissions 2019-05-28 22:37:12 +03:00
Grigory Smolkin
284613bb2f tests: added tests.backup.BackupTest.test_drop_table 2019-05-28 19:51:19 +03:00
Grigory Smolkin
1b0eb68694 tests: fix pgpro2068 2019-05-28 17:50:03 +03:00
Grigory Smolkin
88fed2b424 tests: add suit of basic tests 2019-05-28 12:41:03 +03:00
Grigory Smolkin
8514420c3f tests: minor changes 2019-05-28 11:22:58 +03:00
Grigory Smolkin
d436270b8e tests: minor fixes 2019-05-28 11:11:41 +03:00
Grigory Smolkin
64d0443057 tests: add property pg_config_version 2019-05-24 00:40:42 +03:00
Grigory Smolkin
420a527a65 tests: added checkdb.CheckdbTest.test_checkdb_sigint_handling 2019-05-23 20:28:46 +03:00
Grigory Smolkin
3b9d6c4d3a tests: added remote.RemoteTest.test_remote_sanity 2019-05-23 16:52:15 +03:00
Grigory Smolkin
6a64e5640e tests: added validate.ValidateTest.test_validation_after_backup 2019-05-23 11:58:28 +03:00
Grigory Smolkin
00cbcc8160 tests: fixes 2019-05-23 11:29:00 +03:00
Grigory Smolkin
5cf1556984 tests: added restore.RestoreTest.test_lost_non_data_file 2019-05-22 22:15:40 +03:00
Grigory Smolkin
21230cbb6c Release 2.1.2 2019-05-22 13:04:19 +03:00
Grigory Smolkin
0bac131d7a tests: added external.ExternalTest.test_external_merge_3 2019-05-22 11:34:21 +03:00
Grigory Smolkin
486cdc274b tests: added restore.RestoreTest.test_restore_concurrent_drop_table 2019-05-21 19:29:49 +03:00
Grigory Smolkin
92a73d1ce2 tests: added restore.RestoreTest.test_pg_10_waldir 2019-05-21 19:28:00 +03:00
Grigory Smolkin
18cfcdd236 tests: minor fix 2019-05-21 17:56:22 +03:00
Grigory Smolkin
0493eabfd6 tests: added backup.BackupTest.test_backup_concurrent_drop_table and compatibility.CompatibilityTest.test_backup_concurrent_drop_table 2019-05-21 17:54:23 +03:00
Grigory Smolkin
aa1812eec1 tests: added tests.delete.DeleteTest.test_delete_wal_between_multiple_timelines 2019-05-18 18:44:05 +03:00
Grigory Smolkin
c88cf22c13 tests: added restore.RestoreTest.test_pg_11_group_access 2019-05-14 02:28:37 +03:00
Grigory Smolkin
16dca32efd tests minor cleanup 2019-05-07 00:09:27 +03:00
Grigory Smolkin
1e1daa0079 tests: added tests.external.ExternalTest.test_smart_restore_externals 2019-05-06 21:22:16 +03:00
Grigory Smolkin
c9c55590b0 tests: fix typo 2019-05-06 19:21:22 +03:00
Grigory Smolkin
5b53945751 tests: fixed tests.merge.MergeTest.test_failed_merge_after_delete 2019-05-06 19:18:19 +03:00
Grigory Smolkin
f07c0ae2b8 tests: added tests.merge.MergeTest.test_failed_merge_after_delete and tests.merge.MergeTest.test_failed_merge_after_delete_1 2019-05-06 18:05:54 +03:00
Grigory Smolkin
87f28e76fd tests: added restore.RestoreTest.test_smart_restore 2019-05-06 16:14:24 +03:00
Grigory Smolkin
f84b21ca24 Release 2.1.1 2019-05-01 18:36:15 +03:00
Grigory Smolkin
323add28aa tests: added external.ExternalTest.test_external_dirs_overlapping 2019-05-01 16:53:49 +03:00
Grigory Smolkin
481faf0b5b tests: rename module "backup_test" to "backup" 2019-05-01 02:41:27 +03:00
Grigory Smolkin
04541c5029 tests: final Windows fixes 2019-05-01 02:39:08 +03:00
Grigory Smolkin
613a5b3cc0 tests: Windows fixes for "show" module 2019-05-01 02:32:16 +03:00
Grigory Smolkin
642eb1a096 tests: fixes for Windows in "option" modules 2019-05-01 02:20:08 +03:00
Grigory Smolkin
04af42c241 tests: changes in "init" and "restore" modules for Windows 2019-05-01 02:08:51 +03:00
Grigory Smolkin
b70b9a232b tests: fixes for Windows 2019-04-30 20:20:41 +03:00
Grigory Smolkin
b7a9a20b99 tests: fixes for Windows 2019-04-30 20:18:40 +03:00
Grigory Smolkin
e771c97aa2 tests: minor fixes for "page" module 2019-04-30 19:44:06 +03:00
Grigory Smolkin
d8086219c7 tests: fix checkdb for Windows 2019-04-30 01:49:14 +03:00
Grigory Smolkin
091b7c6e4b tests: minor fixes for Windows 2019-04-30 00:35:28 +03:00
Grigory Smolkin
c3451c5604 tests: module "external" fixes for Windows 2019-04-29 19:41:53 +03:00
Grigory Smolkin
1b02f87c12 tests: additional fixes for "external" module 2019-04-29 16:08:26 +03:00
Grigory Smolkin
cbfb496d5b tests: minor fix in "external" module 2019-04-29 15:59:19 +03:00
Grigory Smolkin
16fff38156 tests: fixes to "external" and "merge" modules 2019-04-28 23:28:35 +03:00
Grigory Smolkin
10229f710f tests: fix test_restore_external_dir_is_missing and test_restore_external_dir_is_empty and add test_restore_external_dir_string_order 2019-04-28 01:06:15 +03:00
Arthur Zakirov
6974eb8958 Remove external directories files from previous backups 2019-04-26 17:37:38 +03:00
Grigory Smolkin
d489cc700e tests: rename external.ExternalTest.test_restore_external_dir_is_empty to external.ExternalTest.test_restore_external_dir_is_missing 2019-04-26 01:19:10 +03:00
Grigory Smolkin
2b95e621c4 tests: added external.ExternalTest.test_restore_external_dir_is_empty 2019-04-25 17:43:20 +03:00
Grigory Smolkin
8ffe2ba597 tests: minor fix 2019-04-25 13:31:40 +03:00
Grigory Smolkin
75447d71f2 tests: minor fix 2019-04-25 13:29:43 +03:00
Grigory Smolkin
6e0d087eb5 tests: minor fixes 2019-04-24 23:39:11 +03:00
Arthur Zakirov
130bb7ee48 Check for existance and emptiness of external directories 2019-04-23 18:40:23 +03:00
Grigory Smolkin
a480a5d275 tests: add more "not empty" tests for tablespaces and externals, remapping included 2019-04-23 17:55:04 +03:00
Grigory Smolkin
6b9aca1c41 tests: added external.ExternalTest.test_restore_external_dir_not_empty 2019-04-23 17:21:30 +03:00
Grigory Smolkin
99c55b6cff tests: fix checkdb.CheckdbTest.test_checkdb_amcheck_only_sanity_1 2019-04-23 10:06:27 +03:00
Grigory Smolkin
1eeff19253 tests: fixes for PG 9.5 2019-04-22 20:52:00 +03:00
Grigory Smolkin
809ccbe7bc bump version to 2.1.0 and update expected help 2019-04-20 15:48:52 +03:00
Grigory Smolkin
a1e24cafc6 tests: fixes for false_positive module 2019-04-20 15:28:33 +03:00
Grigory Smolkin
380d6c655f tests: minor fixes 2019-04-20 12:42:17 +03:00
Grigory Smolkin
fd4ad9d2cb tests: fixes for remote backup and PG11 2019-04-20 03:44:51 +03:00
Grigory Smolkin
ca717e2d4c tests: spelling fix 2019-04-19 19:32:02 +03:00
Grigory Smolkin
54998dce44 tests: added backup_test.Backuptest.test_sigquit_hadnling 2019-04-19 19:30:36 +03:00
Grigory Smolkin
9ef51ae27e tests: added backup_test.BackupTest.test_sigterm_hadnling and backup_test.BackupTest.test_sigint_hadnling 2019-04-19 19:15:02 +03:00
Grigory Smolkin
ea50f4e9cf tests: check that log file do not gets rotated if '.rotation' file is missing or mangled 2019-04-19 18:42:07 +03:00