1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-11-28 09:33:54 +02:00
Commit Graph

1097 Commits

Author SHA1 Message Date
Mikhail A. Kulagin
d57b5fd6ed Version 2.5.2 2021-10-21 17:01:14 +03:00
Mikhail A. Kulagin
92128e9b75 Merge branch 'release_2_5' 2021-10-21 13:54:14 +03:00
Mikhail A. Kulagin
196a70bd32 Fixes for ptrack tests (test_ptrack_vacuum, test_ptrack_vacuum_bits_frozen, test_ptrack_vacuum_bits_visibility):
this is workaround for spgist metadata update bug (PGPRO-5707)
2021-10-20 20:37:44 +03:00
Mikhail A. Kulagin
66dd4b26e4 [PGPRO-5705] remove snapfs (found in commits 9bf541b85, 8b8337047, 5c247d0ff) 2021-10-20 15:19:08 +03:00
Mikhail A. Kulagin
fd4b75abab Adapt tests.replica.ReplicaTest.test_archive_replica_not_null_offset to pgpro enterprise edition 2021-10-18 21:18:34 +03:00
Mikhail A. Kulagin
a4308f0774 Fix tests.backup.BackupTest.test_missing_replication_permission_1: make it compatible with PGPROBACKUP_SSH_REMOTE=ON on PG14 (follow bd81f7fc1) 2021-10-18 17:40:43 +03:00
Mikhail A. Kulagin
3cd69fb903 relaxation of the requirement for calling the old pg_catalog.ptrack_version() function 2021-10-18 17:20:35 +03:00
Mikhail A. Kulagin
7eaac77fe5 Merge remote-tracking branch 'origin/master' into release_2_5 2021-10-18 15:41:43 +03:00
Mikhail A. Kulagin
fc752c8902 Stabilize tests.checkdb.CheckdbTest.test_checkdb_with_least_privileges: accounting differences in amcheck versions in various editions of PG-10 (bd81f7f follow-up) 2021-10-18 05:51:12 +03:00
Mikhail A. Kulagin
0c3aff7429 Fix tests.pgpro2068.BugTest.test_minrecpoint_on_replica on 9.6 2021-10-17 00:07:05 +03:00
Mikhail A. Kulagin
034c597cf8 Follow-up to 7ca590c6c, fix tests.backup.BackupTest.test_incremental_backup_without_full 2021-10-16 23:11:49 +03:00
Mikhail A. Kulagin
e22cb93034 Follow-up to 7ca590c6c, fix tests.backup.BackupTest.test_backup_modes_archive 2021-10-16 23:08:04 +03:00
Mikhail A. Kulagin
0545dd4a92 Running tests.ptrack.PtrackTest.test_horizon_lsn_ptrack now depends on PGPROBACKUPBIN_OLD 2021-10-15 12:53:07 +03:00
Mikhail A. Kulagin
bd79fbbbbb test_ptrack_vacuum_truncate name was duplicated, rename one of them 2021-10-14 18:37:05 +03:00
Mikhail A. Kulagin
c83a8d4ab9 Stabilize tests.ptrack.PtrackTest.test_ptrack_vacuum_full_2 2021-10-14 18:10:48 +03:00
Mikhail A. Kulagin
01db7adeca test_ptrack_vacuum_full name was duplicated, rename one of them 2021-10-14 17:27:57 +03:00
Mikhail A. Kulagin
80e88588c7 Fix broken in da5eb96 tests.validate.ValidateTest.test_basic_validate_nullified_heap_page_backup 2021-10-14 16:52:25 +03:00
Mikhail A. Kulagin
da5eb961c4 Stabilize tests.backup.BackupTest.test_backup_modes_archive 2021-10-14 16:06:10 +03:00
Mikhail A. Kulagin
de497aad52 Stabilize tests.ptrack.PtrackTest.test_horizon_lsn_ptrack 2021-10-14 15:11:08 +03:00
Mikhail A. Kulagin
76acd88e15 Stabilize tests.catchup.CatchupTest.test_tli_ptrack_catchup 2021-10-14 14:40:13 +03:00
Mikhail A. Kulagin
bd81f7fc12
[PGPRO-5673] add missing grants (caused by CVE-2018-1058 fixes #415 P… (#441)
* [PGPRO-5673] add missing grants (caused by CVE-2018-1058 fixes #415 PGPRO-5315)
* tests.backup.BackupTest.test_missing_replication_permission_1: fix test for changed 14s output
* tests.backup.BackupTest.test_missing_replication_permission: fix test for 9.5
* tests.checkdb.CheckdbTest.test_checkdb_with_least_privileges: remove grant for nonexistent (in 10) bt_index_check(regclass, bool)
* tests.checkdb.CheckdbTest.test_checkdb_with_least_privileges: remove grant for nonexistent (in 9.5) pg_catalog.pg_control_system()
* tests.checkdb.CheckdbTest.test_checkdb_with_least_privileges: remove grant for nonexistent (in amcheck_next) bt_index_check(regclass)
* adapt tests/restore.py to Python-3.5 (used in travis tests)
* skip issue_313 test
2021-10-13 21:18:03 +03:00
Mikhail A. Kulagin
396155e5bc
Issue 439 (#440)
* [Issue #439] skip unsupported tests in 9.5 (tests with backups from replica and with pg_control_checkpoint() calling)
2021-10-13 05:56:44 +03:00
Mikhail A. Kulagin
7feb748905 Prerelease test stabilization
ptrack.PtrackTest.test_ptrack_threads
backup.BackupTest.test_backup_with_least_privileges_role
ptrack.PtrackTest.test_ptrack_without_full
option.OptionTest.test_help_1
2021-10-13 05:30:20 +03:00
Grigory Smolkin
2e2a8b8dca [Issue #360] add test coverage 2021-09-26 15:40:00 +03:00
Grigory Smolkin
328eea196a Version 2.5.1 2021-08-13 16:14:04 +03:00
Mikhail A. Kulagin
c00ffe2790
catchup functionality expansion (#419)
[PR #419] New command 'catchup' for synchronizing stale standby with master by transfering only changes blocks, or creating standby from scratch.

Co-authored-by: Elena Indrupskaya <e.indrupskaya@postgrespro.ru>
Co-authored-by: Grigory Smolkin <g.smolkin@postgrespro.ru>
2021-08-13 15:05:42 +03:00
Mikhail A. Kulagin
3e6701e618 Merge branch 'master' into release_2_5 2021-08-13 05:28:34 +03:00
Mikhail A. Kulagin
002d7b53b9
[PGPRO-5378] fix various tests (#420)
* [PGPRO-5378] tests.replica.ReplicaTest.test_replica_archive_page_backup stabilization
* Skip some tests on PG-9.5 (test_replica_switchover, test_replica_promote_archive_delta, test_replica_promote_archive_page, test_parent_choosing)
* travis: Fix compatibility issues with GDB
2021-08-13 02:59:20 +03:00
Mikhail A. Kulagin
384cf6dcfd
CVE-2018-1058 fix (#415)
* CVE-2018-1058 fix
2021-08-12 14:50:07 +03:00
Mikhail A. Kulagin
ba28354de7 Merge branch 'master' into release_2_5 2021-08-03 22:24:33 +03:00
AndrewBille
8846e1997a
Stabilizy tests. (#411)
* tests: Introduced a new flag for tests -- PGPROBACKUP_GDB
* tests: Do travis builds with CFLAGS="-O0" (stabilization of gdb tests)
* tests: Run compatibility tests only if PGPROBACKUPBIN_OLD set
* tests: Running some tests now depends on PGPROBACKUP_SSH_REMOTE
2021-08-03 21:59:49 +03:00
Mikhail A. Kulagin
4de1607e08
"fix" unstable backup.BackupTest.test_backup_with_less_privileges_role (disable tests in archive mode from replica) (#414) 2021-08-03 13:20:07 +03:00
AndrewBille
f63faad5e7
tests: Run compatibility tests only if PGPROBACKUPBIN_OLD set (#408) 2021-07-15 10:44:00 +03:00
Grigory Smolkin
57f871accc Version 2.4.17 2021-07-15 00:48:21 +03:00
Mikhail A. Kulagin
7de728496d
Catchup command implementation (#392)
[ PR #392] New command "catchup" is added, it allows fallen-behind standby to "catch up" with master, or create standby from scratch without resorting to restore from backup

Co-authored-by: Grigory Smolkin <g.smolkin@postgrespro.ru>
Co-authored-by: anastasia <lubennikovaav@gmail.com>
Co-authored-by: Elena Indrupskaya <e.indrupskaya@postgrespro.ru>
2021-06-21 11:45:10 +03:00
Grigory Smolkin
b13d3b8c88 Merge branch 'master' into release_2_5 2021-06-20 14:54:16 +03:00
Grigory Smolkin
e27a6a91e0 [Issue #400] PostgreSQL 14 support 2021-06-20 02:13:35 +03:00
Mikhail A. Kulagin
d55838e80d fix test restore.RestoreTest.test_missing_database_map for PGPROEE11 compatibility 2021-06-18 13:39:11 +03:00
Grigory Smolkin
148afb2806 Merge branch 'master' into release_2_5 2021-06-18 12:21:23 +03:00
Grigory Smolkin
e68132d10c tests: fix tests.archive.ArchiveTest.test_basic_master_and_replica_concurrent_archiving 2021-06-18 12:20:58 +03:00
Grigory Smolkin
7ca590c6cc tests: drop ptrack1 suppport 2021-06-18 12:12:37 +03:00
Grigory Smolkin
dbbfee4a63 tests: disable ptrack testing for PG < 11 2021-06-17 22:29:55 +03:00
Grigory Smolkin
4c27a93e8d tests: minor fix in ptrack.py 2021-06-17 19:44:08 +03:00
Mikhail A. Kulagin
cce59bc824
Remove ptrack-1.* support (#398)
* Remove ptrack-1.* support

* [PR #398] review feedback

* [PR #398] remove conn_arg from backup_files_arg

Co-authored-by: Grigory Smolkin <g.smolkin@postgrespro.ru>
2021-06-17 19:11:36 +03:00
Grigory Smolkin
97b23c45f6 Merge branch 'master' into release_2_5 2021-06-17 02:33:06 +03:00
Grigory Smolkin
6e8e948fd6 [Issue #313] added test coverage 2021-06-17 02:32:36 +03:00
Grigory Smolkin
151d4999b0 [PR #386] test coverage 2021-05-27 02:27:19 +03:00
Grigory Smolkin
ab85396a85 Merge branch 'master' into release_2_5 2021-05-26 21:08:39 +03:00
Grigory Smolkin
4188a699f2 Version 2.4.16 2021-05-26 12:57:10 +03:00
Yura Sokolov
d3bbb74d01 tests: disable autovacuum by default
With autovacuum enabled tests are unstable. Especially they are unstable
if postgresql is running under valgrind and therefore is severely
inhibited (and vacuum has time to be triggered).
2021-05-25 17:09:42 +03:00