1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-11-28 09:33:54 +02:00
pg_probackup/tests
2018-10-01 21:44:21 +03:00
..
expected Version 2.0.20 2018-09-26 18:22:31 +03:00
helpers tests: minor fix 2018-09-26 01:27:06 +03:00
__init__.py tests: replica slow_start() minor change 2018-07-15 16:37:48 +03:00
archive.py add replica flag in slow_start() method 2018-07-14 02:45:17 +03:00
auth_test.py tests: minor improvements 2018-04-11 02:23:13 +03:00
backup_test.py tests: json format for show command 2018-06-02 20:35:37 +03:00
cfs_backup.py tests: fixes for testgres1 2018-01-28 04:36:27 +03:00
cfs_restore.py Add support of recovery target LSN 2018-07-27 17:11:23 +03:00
cfs_validate_backup.py cfs tests small temporal chages 2017-10-19 18:26:24 +03:00
compression.py tests: add slow_start() method to PostgresNode 2018-07-11 10:50:38 +03:00
delete_test.py tests: json format for show command 2018-06-02 20:35:37 +03:00
delta.py tests: add slow_start() method to PostgresNode 2018-07-11 10:50:38 +03:00
exclude.py Merge branch 'pgpro-533' 2018-06-07 14:55:12 +03:00
false_positive.py tests: remove duplicate 2018-08-12 21:13:39 +03:00
init_test.py tests: new modules and tests 2017-07-12 17:28:28 +03:00
logging.py tests: new modules and tests 2017-07-12 17:28:28 +03:00
merge.py tests: test_continue_failed_merge added 2018-08-13 10:08:38 +03:00
option_test.py PGPRO-1449: Add MERGE command: merge PAGE with FULL backup 2018-08-02 11:57:39 +03:00
page.py tests: test_multithread_page_backup_with_toast added 2018-09-15 13:42:23 +03:00
pgpro560.py tests: new module "exclude.py" and minor fixes 2017-11-30 09:14:46 +03:00
pgpro589.py tests: json format for show command 2018-06-02 20:35:37 +03:00
ptrack_clean.py tests: minor fixes 2018-04-28 18:49:34 +03:00
ptrack_cluster.py tests: minor fix 2018-07-14 01:17:04 +03:00
ptrack_move_to_tablespace.py tests: new modules and tests 2017-07-12 17:28:28 +03:00
ptrack_recovery.py fix ptrack 2017-11-07 17:50:35 +03:00
ptrack_truncate.py tests: minor fix 2018-07-14 01:17:04 +03:00
ptrack_vacuum_bits_frozen.py tests: minor fix 2018-07-14 01:17:04 +03:00
ptrack_vacuum_bits_visibility.py new tests added 2017-09-28 10:32:06 +03:00
ptrack_vacuum_full.py tests: minor fix 2018-07-14 01:17:04 +03:00
ptrack_vacuum_truncate.py tests: minor fix 2018-07-14 01:17:04 +03:00
ptrack_vacuum.py tests: minor fix 2018-07-14 01:17:04 +03:00
ptrack.py tests: add slow_start() method to PostgresNode 2018-07-11 10:50:38 +03:00
Readme.md Update Readme.md 2018-04-23 17:20:46 +03:00
replica.py tests: replica slow_start() minor change 2018-07-15 16:37:48 +03:00
restore_test.py tests: tests.restore_test.RestoreTest.test_zags_block_corrupt added 2018-10-01 21:44:21 +03:00
retention_test.py tests: json format for show command 2018-06-02 20:35:37 +03:00
show_test.py tests: minor fixes 2018-09-06 20:46:32 +03:00
validate_test.py tests: minor fixes 2018-09-06 20:46:32 +03:00

см wiki

Note: For now there are tests only for Linix
Check physical correctness of restored instances:
 Apply this patch to disable HINT BITS: https://gist.github.com/gsmol/2bb34fd3ba31984369a72cc1c27a36b6
 export PG_PROBACKUP_PARANOIA=ON

Check archive compression:
 export ARCHIVE_COMPRESSION=ON

Specify path to pg_probackup binary file. By default tests use <Path to Git repository>/pg_probackup/
 export PGPROBACKUPBIN=<path to pg_probackup>

Usage:
 pip install testgres
 pip install psycopg2
 export PG_CONFIG=/path/to/pg_config
 python -m unittest [-v] tests[.specific_module][.class.test]