Mikhail A. Kulagin
06994293a2
[PGPRO-5387] Vanilla fixed idle replica archiving ( #458 )
...
See https://www.postgresql.org/message-id/flat/20210901.121225.1339494423357751537.horikyota.ntt%40gmail.com#ba576416b65f28725488861280805e84
So we can revert two workarounds:
* Revert "[PGPRO-5378] fix unstable tests.replica.ReplicaTest.test_replica_archive_page_backup"
This reverts commit 90b9b5745e19909a6f5f28761def49ef6bfef0e4.
* Revert ""fix" unstable backup.BackupTest.test_backup_with_less_privileges_role (disable tests in archive mode from replica)"
This reverts commit 5dcd1ce2b817219180005b1b70a231798cd96ec5.
2022-03-28 06:30:39 +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
7eaac77fe5
Merge remote-tracking branch 'origin/master' into release_2_5
2021-10-18 15:41:43 +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
da5eb961c4
Stabilize tests.backup.BackupTest.test_backup_modes_archive
2021-10-14 16:06:10 +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
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
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
ba28354de7
Merge branch 'master' into release_2_5
2021-08-03 22:24:33 +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
Grigory Smolkin
7ca590c6cc
tests: drop ptrack1 suppport
2021-06-18 12:12:37 +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
ab85396a85
Merge branch 'master' into release_2_5
2021-05-26 21:08:39 +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
Grigory Smolkin
d8050e5ce4
[Issue #385 ] improve test coverage
2021-05-18 14:59:00 +03:00
Grigory Smolkin
b14dda4d49
[Issue #369 ] fix tests
2021-04-22 17:36:04 +03:00
Grigory Smolkin
3813726bbd
tests: some fixes
2021-03-29 13:06:09 +03:00
Grigory Smolkin
731d19089d
[Issue #310 ] test coverage
2021-03-26 00:30:29 +03:00
Grigory Smolkin
c36ba06c35
[Issue #346 ] tests: added tests.backup.BackupTest.test_missing_wal_segment
2021-03-22 21:26:32 +03:00
a.kozhemyakin
dd8c23c9b1
delete nodes in del_test_dir
2021-02-18 05:13:11 +00:00
Grigory Smolkin
bdcc28d36c
tests: minor fixes for backup and merge modules
2021-02-11 09:51:38 +03:00
Grigory Smolkin
7ecb56e743
[Issue #320 ] improve test coverage
2021-02-08 22:25:58 +03:00
Grigory Smolkin
8ec995b4b4
tests: fixes for #280
2021-01-26 02:43:31 +03:00
Grigory Smolkin
d624863d14
[Issue #290 ] check WAL archive directory presence at the start of backup
2021-01-20 15:55:25 +03:00
Grigory Smolkin
4edc9d94ad
[Issue #289 ] tests: added tests.backup.BackupTest.test_issue_289
2021-01-20 15:40:18 +03:00
Grigory Smolkin
286d30dbff
[Issue #231 ] make several attempts when creating backup directory, so two consecutive backups didn`t get the same backup ID
2021-01-20 15:11:54 +03:00
Grigory Smolkin
89931317e9
tests: fix backup.BackupTest.test_basic_missing_dir_permissions
2020-12-29 19:07:33 +03:00
Grigory Smolkin
ac2da1e817
[Issue #231 ] fix tests.backup.BackupTest.test_issue_231
2020-12-11 15:05:29 +03:00
Grigory Smolkin
ba2a35bb34
[Issue #231 ] added tests.backup.BackupTest.test_issue_231
2020-12-11 14:53:42 +03:00
Grigory Smolkin
1cf233d3a0
[Issue #281 ] Non-exclusive locking mode for read-only tasks, such as restore and validate
2020-12-01 12:36:36 +03:00
Grigory Smolkin
3c00972bd4
tests: move to python3
2020-10-30 02:47:06 +03:00
Grigory Smolkin
5fa64b9609
tests: minor fixes
2020-06-23 12:16:21 +03:00
Grigory Smolkin
e80f1fe432
Merge branch 'release_2_4' into issue_228
2020-06-19 10:57:52 +03:00
Grigory Smolkin
53b7fe9c85
Merge branch 'master' into release_2_4
2020-06-19 10:57:39 +03:00
Grigory Smolkin
615a54edb5
tests: minor fixes
2020-06-19 10:49:32 +03:00
Grigory Smolkin
6f89a53ce0
tests: for basic smoke tests avoid crashish of PostgreSQL cluster when cleaning up test directories
2020-06-19 10:39:29 +03:00
Grigory Smolkin
a0ba9167f2
tests: some fixes
2020-06-19 10:09:04 +03:00
Grigory Smolkin
4fd6ba14d0
[Issue #226 ] fix tests
2020-06-12 02:07:29 +03:00
Grigory Smolkin
4dc3ab8901
tests: fix tests.backup.BackupTest.test_page_detect_corruption
2020-05-23 02:15:15 +03:00
Grigory Smolkin
59715f24de
Merge branch 'release_2_4' into issue_205
2020-05-21 19:09:39 +03:00
Grigory Smolkin
600d146b19
tests: remove tests for page healing via pg_ptrack_get_block
2020-05-21 19:05:20 +03:00
Grigory Smolkin
1475a5dc55
[Issue #205 ] fix some tests
2020-05-19 19:29:05 +03:00
Grigory Smolkin
b0e90be2c2
tests: minor fixes
2020-05-14 13:27:17 +03:00
Grigory Smolkin
7bc8f49081
tests: added tests.backup.BackupTest.test_drop_db_during_full_backup
2020-05-14 12:54:17 +03:00
Grigory Smolkin
04d1ec93fc
tests: added tests.backup.BackupTest.test_drop_rel_during_full_backup
2020-05-13 23:51:01 +03:00
Grigory Smolkin
cddc778024
[Issue #203 ] test coverage
2020-05-13 17:10:47 +03:00
Grigory Smolkin
73efc0bec8
[Issue #203 ] test coverage
2020-05-11 15:25:29 +03:00
Grigory Smolkin
f7159f3333
tests: various fixes
2020-04-24 20:28:33 +03:00
Grigory Smolkin
bebdef6c16
tests: fixes
2020-04-22 01:17:06 +03:00