1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-07-07 06:05:35 +02:00
Commit Graph

64 Commits

Author SHA1 Message Date
7eaac77fe5 Merge remote-tracking branch 'origin/master' into release_2_5 2021-10-18 15:41:43 +03:00
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
ba28354de7 Merge branch 'master' into release_2_5 2021-08-03 22:24:33 +03:00
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
d55838e80d fix test restore.RestoreTest.test_missing_database_map for PGPROEE11 compatibility 2021-06-18 13:39:11 +03:00
7ca590c6cc tests: drop ptrack1 suppport 2021-06-18 12:12:37 +03:00
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
6e8e948fd6 [Issue #313] added test coverage 2021-06-17 02:32:36 +03:00
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
4390ad297b tests: fix tests.restore.RestoreTest.test_restore_chain_with_corrupted_backup 2021-04-22 18:37:29 +03:00
588c4cd04b tests: fix tests.restore.RestoreTest.test_restore_chain 2021-04-22 18:31:34 +03:00
2e9c55f297 [Issue #240] Handle SIGPIPE. Also when remote agent encounters an error condition during exectuion of asynchronous tasks, the error message is saved in global variable and reported when agent status is checked 2021-01-26 15:02:34 +03:00
8ec995b4b4 tests: fixes for #280 2021-01-26 02:43:31 +03:00
4e445024f2 [Issue #280] Expand "--force" flag for incremental restore, now in case of system ID mismatch the destination PGDATA will be deleted; the content of the directory, used as destination for tablespace remapping, is now also deleted. Tablespace map is now validated before reading. 2021-01-22 15:56:14 +03:00
a261a83492 tests: added tests.restore.RestoreTest.test_concurrent_restore 2020-12-05 12:02:58 +03:00
84e63979cd tests: minor fixes 2020-12-03 21:31:01 +03:00
d11e3398f0 [Issue #238] in PG>=12 use postgresql.auto.conf for recovery parameters 2020-12-02 18:32:26 +03:00
1cf233d3a0 [Issue #281] Non-exclusive locking mode for read-only tasks, such as restore and validate 2020-12-01 12:36:36 +03:00
3c00972bd4 tests: move to python3 2020-10-30 02:47:06 +03:00
ff2053be21 [Issue #249] added tests.restore.RestoreTest.test_issue_249 2020-08-31 14:02:11 +03:00
8b8a79f9dc Merge branch 'release_2_4' into issue_66 2020-06-12 02:10:26 +03:00
4fd6ba14d0 [Issue #226] fix tests 2020-06-12 02:07:29 +03:00
783f0163ed tests: fixes 2020-06-03 15:28:20 +03:00
7d0add5ad6 tests: fixes 2020-05-11 21:23:25 +03:00
2927549456 tests: fixes for 2.3.0 2020-04-29 01:26:56 +03:00
c50b0b16f0 [Issue #149] test coverage 2020-03-14 21:42:50 +03:00
86fd79512a [Issue #172] Optimize remote backup in PAGE and PTRACK modes 2020-03-14 14:35:57 +03:00
d46e96b808 [Issue #171] test coverage 2020-02-23 22:04:14 +03:00
385c16b0d2 tests: fix elog messages 2020-02-06 21:35:16 +03:00
9830b629e7 tests: fixes for 9.5 2020-01-07 21:15:53 +03:00
b7f69ae206 tests: update comments 2019-12-29 21:41:47 +03:00
68922f2151 tests: various fixes 2019-12-28 18:53:33 +03:00
64d35c5022 Added support for ptrack 2.0 2019-12-23 18:23:29 +03:00
7244ee3b86 [Issue #138] always set "restore_command" in recovery.conf if "--restore-command" option is provided 2019-10-30 18:16:00 +03:00
9a8285441e [Issue #138] test coverage 2019-10-25 19:59:46 +03:00
effea35742 tests: support PG12 2019-10-19 09:48:35 +03:00
0deff06912 tests: minor fixes 2019-10-08 14:33:52 +03:00
a42ebbff0c tests: minor fixes 2019-09-05 11:12:17 +03:00
b278a2fbf5 tests: minor fixes 2019-08-29 23:05:53 +03:00
454eeac8f8 tests: added validate.ValidateTest.test_partial_validate_exclude and validate.ValidateTest.test_partial_validate_include 2019-08-09 20:40:01 +03:00
79f6733469 Merge branch 'master' into issue_79 2019-07-24 00:36:03 +03:00
db73f84057 [Issue #101] Multiple spelling fixes. Reported by Alexander Lakhin 2019-07-23 20:11:11 +03:00
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
ae19a99893 [Issue #79] minor fixes 2019-06-11 09:55:05 +03:00
e58cf5b776 tests: more tests for partial restore 2019-06-10 21:03:34 +03:00
a4df3b4178 [Issue #79] added tests for partial restore 2019-06-07 03:18:49 +03:00
88fed2b424 tests: add suit of basic tests 2019-05-28 12:41:03 +03:00
64d0443057 tests: add property pg_config_version 2019-05-24 00:40:42 +03:00
5cf1556984 tests: added restore.RestoreTest.test_lost_non_data_file 2019-05-22 22:15:40 +03:00
486cdc274b tests: added restore.RestoreTest.test_restore_concurrent_drop_table 2019-05-21 19:29:49 +03:00