1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-03 09:59:53 +02:00
Commit Graph

939 Commits

Author SHA1 Message Date
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
Grigory Smolkin
ec2d74dbbe tests: added backup.BackupTest.test_pg_11_adjusted_wal_segment_size 2019-04-19 17:05:14 +03:00
Grigory Smolkin
ac41c53f45 tests: added logging.LogTest.test_garbage_in_rotation_file 2019-04-19 16:25:30 +03:00
Grigory Smolkin
e0d6c6bfc0 tests: added test_unlink_rotation_file 2019-04-19 15:55:03 +03:00
Grigory Smolkin
05c1c4e0aa Merge branch 'pgpro-2065' 2019-04-19 11:18:23 +03:00
Grigory Smolkin
6aea552042 tests: more minor fixes 2019-04-19 11:17:26 +03:00
Grigory Smolkin
ec2e526ad8 tests: checkdb minor fixes 2019-04-19 11:12:19 +03:00
Grigory Smolkin
e04abf12f5 tests: minor changes to checkdb module 2019-04-19 10:59:52 +03:00
Grigory Smolkin
d27ab77920 tests: checkdb tests added 2019-04-19 01:52:41 +03:00
Grigory Smolkin
e7c3031f7f Issue 56: added logging.LogTest.test_truncated_rotation_file 2019-04-18 16:10:31 +03:00
Anastasia
6d0059092c Merge branch 'master' into pgpro-2065 2019-04-17 17:20:33 +03:00
Grigory Smolkin
2efce08756 tests: fix some ptrack tests 2019-04-17 14:37:39 +03:00
Grigory Smolkin
5b4685eb3a tests: fix missing _ptrack fork for 0 sized relations 2019-04-17 02:13:56 +03:00
Anastasia
ce29d91957 Merge master into pgpro-2065. Resolve conflicts.
TODO: review compatibility of checkdb and remote backup
2019-04-16 16:33:03 +03:00
Arthur Zakirov
baa6aa8e35 Fix help messages 2019-04-16 13:34:57 +03:00
Arthur Zakirov
c440ab0f45 Merge remote-tracking branch 'origin/remote_pull' 2019-04-16 13:24:02 +03:00
Arthur Zakirov
eec03820e4 Merge branch 'pbckp-36' 2019-04-16 11:33:08 +03:00
Arthur Zakirov
592df2e606 PBCKP-36: Fix help message for RESTORE and VALIDATE 2019-04-16 10:54:05 +03:00
Grigory Smolkin
bbd4e810af Merge branch 'master' into issue_52 2019-04-15 22:04:56 +03:00
Grigory Smolkin
e208e7f191 tests: add more comments in restore module 2019-04-15 19:53:38 +03:00
Grigory Smolkin
4406539528 tests: added restore.RestoreTest.test_restore_target_new_options 2019-04-15 19:02:07 +03:00
Grigory Smolkin
97e6182ca1 tests: fix header size for EE versions >= 10 2019-04-15 17:55:13 +03:00
Grigory Smolkin
d1e616e2f1 Merge branch 'master' into pgpro-2065 2019-04-13 23:31:39 +03:00
Grigory Smolkin
eb767ed0ad tests: added test_restore_target_immediate_stream, test_restore_target_immediate_archive and test_restore_target_latest_archive in "restore" module 2019-04-13 16:50:50 +03:00
Grigory Smolkin
290df26373 tests: minor fixes 2019-04-13 15:14:20 +03:00
Anastasia
1d5b9e469d Merge branch 'master' into pgpro-2065 2019-04-12 16:03:18 +03:00
Arthur Zakirov
db179af048 PBCKP-36: Fix recovery-target options 2019-04-12 14:48:53 +03:00
Grigory Smolkin
4193766317 Merge branch 'master' into remote_pull 2019-04-12 14:05:27 +03:00
Grigory Smolkin
06add7d59f tests: minor fix for replica.ReplicaTest.test_replica_archive_page_backup 2019-04-11 17:00:44 +03:00
Grigory Smolkin
8aeddc9892 tests: minor fixes 2019-04-11 16:33:16 +03:00
Grigory Smolkin
af340b982c tests: added delta.DeltaTest.test_delta_backup_from_past 2019-04-10 23:43:30 +03:00
Grigory Smolkin
9ca020c127 tests: update option_help.out 2019-04-10 22:31:52 +03:00
Grigory Smolkin
8240bc2dc4 tests: fix archive.ArchiveTest.test_replica_archive 2019-04-10 22:27:07 +03:00
Arthur Zakirov
d87149c68f PBCKP-36: Create recovery.conf if --latest specified 2019-04-10 15:57:32 +03:00
Grigory Smolkin
100899a7f1 Merge branch 'master' into remote_pull 2019-04-09 22:42:17 +03:00
Grigory Smolkin
64a7fac7a2 tests: minor fixes for del_instance 2019-04-08 13:54:29 +03:00
Grigory Smolkin
8df3a8cf4b tests: minor fixes 2019-04-08 12:09:09 +03:00
Grigory Smolkin
6b49402e9f tests: added delete.DeleteTest.test_del_instance_archive 2019-04-08 12:03:05 +03:00
Grigory Smolkin
f1cd6c23c5 Merge branch 'master' into remote_pull 2019-04-05 01:05:49 +03:00
Grigory Smolkin
9a5c8074db tests: fix test_delta_archive 2019-04-04 14:41:33 +03:00
Grigory Smolkin
9091bb5405 tests: additional tests for external directories 2019-04-03 18:34:18 +03:00
Konstantin Knizhnik
f0576ce10f Merge with master 2019-04-03 17:55:02 +03:00
Grigory Smolkin
db3273b344 Merge branch 'master' into pgpro-2065 2019-04-03 04:00:54 +03:00
Grigory Smolkin
0b549f317f tests: added checkdb.CheckdbTest.test_checkdb_block_validation 2019-03-31 11:43:50 +03:00
Grigory Smolkin
8964f2aff3 Merge branch 'master' into pgpro-2065 2019-03-30 16:57:02 +03:00
Grigory Smolkin
697a451b10 Merge branch 'master' into pgpro-2573 2019-03-30 16:12:13 +03:00
Grigory Smolkin
f0de44e0fa tests: add module "config" 2019-03-30 01:48:57 +03:00
Grigory Smolkin
c230189b75 Merge branch 'master' into pgpro-2573 2019-03-29 22:11:51 +03:00
Grigory Smolkin
2647c37841 tests: minor changes to logging and snapfs tests 2019-03-29 22:10:24 +03:00
Grigory Smolkin
048e86390e Merge branch 'master' into pgpro-2573 2019-03-28 21:58:32 +03:00
Grigory Smolkin
0b26072ef6 tests: added merge.MergeTest.test_merge_multiple_descendants 2019-03-28 21:58:15 +03:00
Grigory Smolkin
0c40a75f7f Merge branch 'master' into pgpro-2573 2019-03-28 20:59:52 +03:00
Grigory Smolkin
b80a1ffbb3 tests: minor changes to merge.MergeTest.test_losing_file_after_failed_merge 2019-03-28 20:59:37 +03:00
Grigory Smolkin
366d36b9a9 Merge branch 'master' into pgpro-2573 2019-03-28 18:45:40 +03:00
Grigory Smolkin
0ff607914b tests: minor fixes to merge module 2019-03-28 18:08:49 +03:00
Grigory Smolkin
d48f4024a8 PGPRO-2589: use parent_link when deleting backup chain via delete -i BACKUP_ID 2019-03-28 17:35:05 +03:00
Grigory Smolkin
e82b5daefc tests: rename module delete_test to delete; added delete.DeleteTest.test_delete_interleaved_incremental_chains and delete.DeleteTest.test_delete_multiple_descendants 2019-03-28 17:10:28 +03:00
Grigory Smolkin
068218c544 tests: added merge.MergeTest.test_merge_backup_from_future and restore.RestoreTest.test_restore_backup_from_future 2019-03-27 18:16:53 +03:00
Grigory Smolkin
867e9e5835 tests: rename validate_test module to validate 2019-03-27 18:15:15 +03:00
Grigory Smolkin
0726ca63db tests: minor fixes 2019-03-27 10:10:18 +03:00
Grigory Smolkin
c5c420ceab tests: rename module restore_test to restore 2019-03-26 20:56:55 +03:00
Grigory Smolkin
081a0b317c tests: add pgpro2068 2019-03-26 00:55:30 +03:00
Grigory Smolkin
092771792d tests: for pgpro-2573 2019-03-25 17:15:46 +03:00
Arthur Zakirov
55c4ef034c Merge branch 'PGPRO-421' 2019-03-25 16:55:06 +03:00
Grigory Smolkin
87b6b9012a tests: added test_retention_interleaved_incremental_chains 2019-03-25 16:40:41 +03:00
Grigory Smolkin
1923560fd9 tests: rename module retention_test to retention 2019-03-25 16:40:41 +03:00
Grigory Smolkin
7acb351338 tests: added retention.RetentionTest.test_retention_window_4 2019-03-25 16:40:41 +03:00
Arthur Zakirov
afa0081a41 Make parsexlog messages using capital letter 2019-03-25 16:40:41 +03:00
Grigory Smolkin
be3b04b728 tests: minor fixes in page module 2019-03-25 16:40:41 +03:00
Arthur Zakirov
791837627b PGPRO-1973: Add more parallel tests 2019-03-25 16:40:41 +03:00
Arthur Zakirov
1e87dce591 PGPRO-1973: Fix a bug, improve validate tests 2019-03-25 16:40:41 +03:00
Arthur Zakirov
62a2850de0 PGPRO-1973: Add support pthreads for VALIDATE command 2019-03-25 16:40:41 +03:00
Grigory Smolkin
001c0c2670 tests: added test_continue_failed_merge_3(), author Ilya Skvortsov 2019-03-25 16:40:41 +03:00
Grigory Smolkin
db365f1d85 tests: minor fix for test_delete_backup_with_empty_control_file 2019-03-25 16:40:41 +03:00
Grigory Smolkin
b888f6bdcd tests: added tests.retention_test.RetentionTest.test_retention_window_3 2019-03-25 16:40:41 +03:00
Grigory Smolkin
c02892217f tests: minor fixes for merge module 2019-03-25 16:40:41 +03:00
Grigory Smolkin
58de0dbd35 tests: added tests.merge.MergeTest.test_crash_after_opening_backup_control_2 2019-03-25 16:40:41 +03:00
Grigory Smolkin
596f82faa2 tests: added tests.merge.MergeTest.test_crash_after_opening_backup_control 2019-03-25 16:40:41 +03:00
Grigory Smolkin
385246c49c tests: added delete_test.DeleteTest.test_delete_backup_with_empty_control_file() 2019-03-25 16:40:41 +03:00
Arthur Zakirov
0253845a35 tests: update help test 2019-03-25 16:40:41 +03:00
Grigory Smolkin
6f0d7beb9b tests: add test_merge_different_wal_modes 2019-03-25 16:40:41 +03:00
Grigory Smolkin
a8be5ff277 tests: fix gdbobject method continue_execution_until_break() 2019-03-25 16:40:41 +03:00
Grigory Smolkin
d1722ea172 tests: added test_retention_interleaved_incremental_chains 2019-03-23 02:16:42 +03:00
Grigory Smolkin
aaf19f3ea3 tests: rename module retention_test to retention 2019-03-22 22:14:58 +03:00
Sergey Cherkashin
fc1ae6fba0 Check if external directory contains tablespace 2019-03-19 19:19:50 +03:00
Grigory Smolkin
a23386e17a tests: fix test_validate_nullified_heap_page_backup and test_delta_nullified_heap_page_backup 2019-03-18 12:04:18 +03:00
Grigory Smolkin
0c0eefc882 tests: fix compatibility tests for remote backup 2019-03-16 15:15:17 +03:00
Grigory Smolkin
8949abb278 tests: added retention.RetentionTest.test_retention_window_4 2019-03-15 18:26:02 +03:00
Arthur Zakirov
202c88b8a1 Merge branch 'pgpro-1973' 2019-03-15 11:45:41 +03:00
Arthur Zakirov
e9c92c24e8 Make parsexlog messages using capital letter 2019-03-14 18:59:31 +03:00
Grigory Smolkin
fa625dba02 tests: minor fixes in page module 2019-03-14 17:55:46 +03:00
Grigory Smolkin
89366b3fe8 tests: added test_external_backward_compatibility_merge* tests 2019-03-13 18:38:42 +03:00
Grigory Smolkin
78a6ede9f0 tests: minor fix in external.ExternalTest.test_external_simple 2019-03-13 16:57:04 +03:00
Grigory Smolkin
1f2760c1f7 tests: added tests.external.ExternalTest.test_external_dir_is_tablespace 2019-03-12 22:16:58 +03:00
Grigory Smolkin
25d9ce9d76 tests: added test_continue_failed_merge_3(), author Ilya Skvortsov 2019-03-12 21:44:40 +03:00
Grigory Smolkin
ea270f6f96 tests: minor fix for test_delete_backup_with_empty_control_file 2019-03-12 17:46:30 +03:00
Grigory Smolkin
5af689ea74 tests: check external dir pointing to a file 2019-03-12 12:09:28 +03:00
Grigory Smolkin
8c365b67e8 tests: fix test_external_dir_is_symlink 2019-03-12 11:33:42 +03:00
Sergey Cherkashin
631590bec5 Make possible to pass symlink as -E option 2019-03-11 21:34:58 +03:00
Grigory Smolkin
cb805f7e7c tests: added tests.retention_test.RetentionTest.test_retention_window_3 2019-03-11 14:53:32 +03:00
Grigory Smolkin
21434cdc63 tests: minor fixes for merge module 2019-03-09 14:25:50 +03:00
Grigory Smolkin
d580907b6d tests: added tests.merge.MergeTest.test_crash_after_opening_backup_control_2 2019-03-09 13:36:21 +03:00
Grigory Smolkin
edcdbf5eb3 tests: added tests.merge.MergeTest.test_crash_after_opening_backup_control 2019-03-09 12:43:04 +03:00
Grigory Smolkin
6e2e56ce5f tests: update comments in tests.external.ExternalTest.test_external_dir_is_symlink 2019-03-09 01:06:37 +03:00
Grigory Smolkin
49aa6e7ce4 tests: added tests.external.ExternalTest.test_external_dir_is_symlink() 2019-03-09 01:02:35 +03:00
Grigory Smolkin
a1404d86b5 tests: added delete_test.DeleteTest.test_delete_backup_with_empty_control_file() 2019-03-07 16:17:04 +03:00
Grigory Smolkin
b00243f05b bump version to 2.0.28 2019-03-06 20:23:17 +03:00
Arthur Zakirov
481c42f2e5 PGPRO-1973: Add more parallel tests 2019-03-06 11:58:42 +03:00
Arthur Zakirov
eea78149aa PGPRO-1973: Fix a bug, improve validate tests 2019-03-05 18:35:31 +03:00
Grigory Smolkin
16f5c9af2a Merge branch 'master' into remote_pull 2019-03-05 02:44:41 +03:00
Arthur Zakirov
70b299c34b PGPRO-1973: Add support pthreads for VALIDATE command 2019-03-04 19:02:29 +03:00
Arthur Zakirov
e9190e6cc3 tests: update help test 2019-03-04 16:47:21 +03:00
Grigory Smolkin
a50ffed5d4 tests: add test_merge_different_wal_modes 2019-03-03 02:35:06 +03:00
Grigory Smolkin
2466e51871 tests: fix gdbobject method continue_execution_until_break() 2019-03-02 02:29:58 +03:00
Grigory Smolkin
459a4df987 tests: added external.ExternalTest.test_restore_skip_external() 2019-03-02 02:05:36 +03:00
Grigory Smolkin
807d46a49d tests: fixes for test_external_merge_1() 2019-03-02 00:43:46 +03:00
Grigory Smolkin
904171d483 Merge branch 'master' into PGPRO-421 2019-03-01 23:03:01 +03:00
Grigory Smolkin
236a9069d2 tests: do not use remote archive-push/archive-get 2019-03-01 22:44:57 +03:00
Grigory Smolkin
49e6710f2b Merge branch 'master' into remote_pull 2019-03-01 19:23:59 +03:00
Grigory Smolkin
322b3f0b21 tests: fixes for PG 9.5 2019-03-01 19:19:56 +03:00
Sergey Cherkashin
c94c6d06f0 Fix merging external directories 2019-03-01 18:14:26 +03:00
Konstantin Knizhnik
6d2a51e229 Merge with master 2019-03-01 17:41:01 +03:00
Grigory Smolkin
d9cb01a167 tests: added backup_test.BackupTest.test_persistent_slot_for_stream_backup() and backup_test.BackupTest.test_temp_slot_for_stream_backup() 2019-03-01 16:29:47 +03:00
Grigory Smolkin
75b0ff2881 tests: minor fixes 2019-02-28 21:12:32 +03:00
Grigory Smolkin
4aab7c488b tests: added compatibility.test_backward_compatibility_merge() 2019-02-28 20:09:11 +03:00
Grigory Smolkin
093e597ac8 tests: remove deprecated modules 2019-02-28 17:07:41 +03:00
Grigory Smolkin
b6c43f93d2 tests: compression.test_uncompressable_pages() added 2019-02-28 17:06:33 +03:00
Konstantin Knizhnik
7c2260c05d Merge with master 2019-02-28 15:51:57 +03:00
Grigory Smolkin
ba8410686b Version 2.0.27
- Bugfix: reading of compressed WAL files was very slow, it happened because xlogreader was in habit of reading XLOG page twice, which breaks zlib optimization for sequential access. See https://commitfest.postgresql.org/22/1994 for additional info. Reported by Alex Ignatov.
- Bugfix: previously path to PGDATA was not canonicalized. On Windows this could lead to producing empty backups. Additionally during investigation another bug was found: readdir() silently ignored 'permission denied' errors. See https://www.postgresql.org/message-id/2cad7829-8d66-e39c-b937-ac825db5203d%40postgrespro.ru for additional info. Reported by Yuri Kurenkov.
- Bugfix: archive-push didn`t use O_EXCL flag when creating '.partial' file, in rare case of two PostgreSQL instances concurrently pushing the same WAL segment it could lead to corruption of pushed WAL segment.
- Minor bugfix: disappeared during backup files were marked as 'not changed', now they just evicted from file list.
- Minor bugfix: skip 'log' directory during backup for PG >= 10. Reported by triwada.
- Improvement: previously locking was done at instance level, because of that concurrent operations were impossible, now it is done at the backup level, so restore of backup A won`t interfere with validation of backup B.
- Improvement: previously restore was relying on sort order when restoring incremental backups, now it`s relying on parent chain.
- Minor improvement: when using show command "Time" for RUNNING backups now calculated on the fly.
- Minor improvement: START LSN of backup now written to backup meta right after receiving, not at the end of the backup. It will be needed for "resume" feature.
2019-02-28 11:02:25 +03:00
Grigory Smolkin
20de566010 tests: minor fixes 2019-02-26 21:26:30 +03:00
Grigory Smolkin
ec2aa7f000 tests: move all ptrack tests to ptrack module 2019-02-24 23:20:42 +03:00
Grigory Smolkin
5b3a733b37 tests for external directories: merge tests added 2019-02-22 21:19:56 +03:00
Grigory Smolkin
9243a8a399 Merge branch 'pgpro-1918' 2019-02-22 19:33:41 +03:00
Arthur Zakirov
ad5449f1b2 PGPRO-1918: Add more informative messages 2019-02-20 13:29:16 +03:00
Grigory Smolkin
883464fdfc PGPRO-1918: added test_locking_restore_locked_without_validation() 2019-02-19 15:42:18 +03:00
Grigory Smolkin
d9716e000c tests: added test_locking_restore_locked() and test_locking_concurrent_vaidate_and_backup() 2019-02-19 15:24:57 +03:00
Grigory Smolkin
2329af38bc tests: added test_validate_specific_error_intermediate_backups() 2019-02-18 21:42:56 +03:00
Grigory Smolkin
f7ed67a19e tests: added test_validate_error_intermediate_backups() 2019-02-18 21:27:23 +03:00
Grigory Smolkin
c4259b856b PGPRO-1918 tests: minor fixes 2019-02-18 20:09:09 +03:00
Grigory Smolkin
ac3b0175d4 PGPRO-1918 tests: added test_locking_running_validate_2_specific_id() 2019-02-18 18:16:53 +03:00
Grigory Smolkin
49705d73f4 tests: fix test_archive_node_backup_archive_pitr_2() 2019-02-18 17:20:13 +03:00
Arthur Zakirov
8960f2aae2 PGPRO-1918: Consider lock_backup()'s result 2019-02-18 16:55:46 +03:00
Arthur Zakirov
3b91712e1a Merge remote-tracking branch 'origin/master' into pgpro-1918 2019-02-18 14:48:24 +03:00
Grigory Smolkin
0aa14030f6 tests: added test_tablespace_handling_1() and test_tablespace_handling_2() 2019-02-17 15:34:59 +03:00
Grigory Smolkin
3474784895 tests: rename some locking tests 2019-02-16 15:29:59 +03:00
Grigory Smolkin
119f118af0 tests: minor fix for PGPRO-1918 2019-02-16 15:28:22 +03:00
Grigory Smolkin
6b4f698da0 tests: more tests for backup locking 2019-02-16 15:26:37 +03:00
Grigory Smolkin
7ab3b03060 tests: fix test_ptrack_vacuum_replica() and test_ptrack_vacuum_bits_frozen_replica() 2019-02-15 19:35:51 +03:00
Grigory Smolkin
8e5e62612b tests: minor fix for test_page_backup_with_corrupted_wal_segment() 2019-02-14 18:11:27 +03:00
Grigory Smolkin
f911eead63 tests: test_external_none() added 2019-02-14 14:12:55 +03:00
Grigory Smolkin
e225bb830b PGPRO-421 tests: test_external_backward_compatibility() added, minor fixes 2019-02-13 11:42:48 +03:00
Grigory Smolkin
fb5046343f tests: in test_minrecpoint_on_replica() wait a bit longer for shared buffer to fill in with dirty data 2019-02-12 20:10:04 +03:00
Grigory Smolkin
8bbf1f44c6 tests: minor fixes and comments for test_minrecpoint_on_replica() 2019-02-12 20:03:44 +03:00
Grigory Smolkin
841e608fa7 PGPRO-2068: tests for block from future 2019-02-12 19:52:52 +03:00
Sergey Cherkashin
512ae2ffd1 Merge branch 'master' into PGPRO-421 2019-02-12 17:23:58 +03:00
Sergey Cherkashin
dbefa9e183 Rename feature from "extra directories" to "external directories" 2019-02-12 17:19:18 +03:00
Grigory Smolkin
d7f51ac855 tests: another minor fix for snapfs 2019-02-11 20:14:00 +03:00
Grigory Smolkin
8b8337047c tests: minor fix 2019-02-11 20:04:33 +03:00
Anastasia
0220ae5146 Merge branch 'master' into pgpro_2370 2019-02-11 18:23:51 +03:00
Anastasia
5c247d0ffa treat snap files as not datafiles.
fix a typo in snapfs.py
2019-02-11 18:14:31 +03:00
Sergey Cherkashin
14f48dcefb Throw an error when during a restore operation the user tries to remap
an external directory that is not in the destination backup
2019-02-11 18:07:12 +03:00
Grigory Smolkin
10b8db397a tests: minor fix to restore tests 2019-02-09 02:30:22 +03:00
Grigory Smolkin
2028275c10 PGPRO-2425: tests test_restore_chain_with_corrupted_backup() and test_restore_chain() added 2019-02-09 01:59:43 +03:00
Grigory Smolkin
c3cf4d31fa tests: disable fsync 2019-02-08 09:34:54 +03:00
Grigory Smolkin
9256d32e8e tests: added test_drop_rel_during_backup_delta(), test_drop_rel_during_backup_page() and test_drop_rel_during_backup_ptrack() 2019-02-07 20:23:38 +03:00
Grigory Smolkin
62c2028a0f tests: support remote tests 2019-02-01 19:32:48 +03:00
Grigory Smolkin
29d6210408 tests: test_remote_1() added 2019-01-31 20:27:41 +03:00
Grigory Smolkin
54d05f7084 Merge branch 'master' into remote_pull 2019-01-31 19:48:41 +03:00
Grigory Smolkin
34cb9169c4 tests: module remote added 2019-01-31 19:47:44 +03:00
Grigory Smolkin
2c08cb2c2f tests: test_locking_simple_2() added 2019-01-31 18:57:28 +03:00
Grigory Smolkin
50f5e5013a tests: minor fix in test_locking_simple() 2019-01-31 18:44:26 +03:00
Grigory Smolkin
282cf11b30 tests: test_locking_simple() added 2019-01-31 16:31:11 +03:00
Grigory Smolkin
abf646d0d9 tests: module "locking" added 2019-01-31 12:03:02 +03:00
Grigory Smolkin
7a90741d75 tests: fix merge 2019-01-27 18:35:57 +03:00
Grigory Smolkin
40ef9e9b1b tests: module logging added 2019-01-25 21:33:34 +03:00
Grigory Smolkin
9bf541b853 tests: snapfs module added 2019-01-25 19:37:21 +03:00
Grigory Smolkin
bda5d3b564 tests: PGPRO-421 test_backup_multiple_external() added 2019-01-16 17:49:59 +03:00
Grigory Smolkin
b1cd1b1521 Merge branch 'master' into PGPRO-421 2019-01-16 17:49:01 +03:00
Grigory Smolkin
93c39d2d53 tests: test_tablespace_handling() added 2019-01-16 17:47:08 +03:00
Grigory Smolkin
5cd09774af tests for external directories 2019-01-16 16:33:27 +03:00
Grigory Smolkin
1dbc0c94df tests: to pgdata_content() and add_instance() arbitrary cmdline options can now be provided 2019-01-16 16:31:26 +03:00
Grigory Smolkin
71172fb6de tests: fix test_no_control_file() which was broken by 94d7c4bb3b 2019-01-15 16:46:29 +03:00
Grigory Smolkin
8894d9f9a8 tests: fix test_empty_control_file() which was broken by 94d7c4bb3b 2019-01-15 16:40:35 +03:00
Grigory Smolkin
ba53bb5a09 tests: fix test_corrupt_control_file() which was broken by 94d7c4bb3b 2019-01-15 16:36:14 +03:00
Grigory Smolkin
58cd26f10a tests: slow_start() fix 2019-01-14 20:20:24 +03:00
Grigory Smolkin
4d8b6f50c9 tests: slow_start more robust behaviour 2019-01-14 19:58:15 +03:00
Grigory Smolkin
94d7c4bb3b tests: crutch-fix json parsing in show_pb() 2019-01-12 01:42:01 +03:00
Grigory Smolkin
c542c61182 Merge remote-tracking branch 'origin/PGPRO-1780' 2019-01-11 19:04:31 +03:00
Grigory Smolkin
5bcea32f31 tests: comment minor fix 2019-01-11 17:54:50 +03:00
Grigory Smolkin
8300983ead Merge remote-tracking branch 'origin/origin/pgpro-2235' 2019-01-11 17:51:39 +03:00