Yura Sokolov
4869a564d0
[PBCKP-336] Fix segno calculation.
...
It were lost during fork-name detection fix at eaf3b14c22 .
And since there were no basic test for this, it were not detected.
2022-11-14 13:04:09 +03:00
Yura Sokolov
a8ee334c3f
[PBCKP-235] fix one test for <15.0
2022-11-03 03:40:35 +03:00
Daniel Shelepanov
53abc0b6e7
[PGPRO-6938] pg_probackup has been ported to version 15
...
Has been tested on 15beta2 and 16
tags: pg_probackup
2022-09-14 18:31:22 +03:00
Mikhail A. Kulagin
1bb0762729
[PBCKP-259] fix for 'ERROR: Cannot create directory for older backup'… ( #526 )
...
* [PBCKP-259] fix for 'ERROR: Cannot create directory for older backup', rewrite --start_time implementation
* rewritten 5f2283c8deac88ea49ea6223a3aa72e2cf462eb5
* fixes for several tests
* disabled tests.merge.MergeTest.test_merge_backup_from_future and tests.restore.RestoreTest.test_restore_backup_from_future as incorrect for now
Co-authored-by: d.lepikhova <d.lepikhova@postgrespro.ru>
2022-09-01 14:38:17 +03:00
Mikhail A. Kulagin
3d7b9f0e80
[PBCKP-258] fix multiple permission tests (revert a3ac7d5e7a8d6ebeafd… ( #527 )
2022-08-28 00:39:33 +03:00
dlepikhova
2bc096bdf0
Merge pull request #515 from postgrespro/PBCKP-170
...
PBCKP-170
2022-08-04 20:56:34 +05:00
dlepikhova
a0484a2d19
Merge branch 'REL_2_5' into PBCKP-155
2022-08-04 13:22:29 +05:00
Ivan Lazarev
9c6e3ce3f7
[PBCKP-220] all gdb tests fixup
2022-07-01 13:52:20 +03:00
d.lepikhova
a3ac7d5e7a
Add grants for pgpro_edition
2022-06-24 17:12:26 +05:00
d.lepikhova
1b75b4ed62
Add tests for --start-time option on the one and few nodes
2022-06-07 14:29:44 +05:00
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