1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-01 09:51:43 +02:00
pg_probackup/tests
2018-04-02 14:59:19 +03:00
..
expected Version 2.0.16 2018-03-02 19:26:37 +03:00
helpers PGPRO-1504: during validation attemp to revalidate CORRUPT and ORPHAN backups 2018-03-15 13:34:51 +03:00
__init__.py tests: cfs_backup 2018-01-25 21:39:16 +03:00
archive.py tests: fixes for testgres1 2018-01-28 04:36:27 +03:00
auth_test.py Github Issue 24: check PQresultStatus for pg_stop_backup() 2018-03-19 20:51:01 +03:00
backup_test.py PGPRO-1504: during validation attemp to revalidate CORRUPT and ORPHAN backups 2018-03-15 13:34:51 +03:00
cfs_backup.py tests: fixes for testgres1 2018-01-28 04:36:27 +03:00
cfs_restore.py tests: fixes for testgres1 2018-01-28 04:36:27 +03:00
cfs_validate_backup.py cfs tests small temporal chages 2017-10-19 18:26:24 +03:00
compression.py tests: new modules and tests 2017-07-12 17:28:28 +03:00
delete_test.py tests: new modules and tests 2017-07-12 17:28:28 +03:00
delta.py fix PGPRO-1507: null-sized files were not copied to backup 2018-03-16 11:53:43 +03:00
exclude.py tests: new module "exclude.py" and minor fixes 2017-11-30 09:14:46 +03:00
false_positive.py new tests added 2017-09-28 10:32:06 +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
option_test.py tests: fixes 2017-12-13 11:15:42 +03:00
page.py fix PGPRO-1507: null-sized files were not copied to backup 2018-03-16 11:53:43 +03:00
pgpro560.py tests: new module "exclude.py" and minor fixes 2017-11-30 09:14:46 +03:00
pgpro589.py tests: major fixes 2018-01-18 04:35:27 +03:00
ptrack_clean.py tests: new page test added, minor fixes for ptrack tests 2018-03-06 17:10:55 +03:00
ptrack_cluster.py new tests added 2017-09-28 10:32:06 +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 new tests added 2017-09-28 10:32:06 +03:00
ptrack_vacuum_bits_frozen.py new tests added 2017-09-28 10:32:06 +03:00
ptrack_vacuum_bits_visibility.py new tests added 2017-09-28 10:32:06 +03:00
ptrack_vacuum_full.py new tests added 2017-09-28 10:32:06 +03:00
ptrack_vacuum_truncate.py new tests added 2017-09-28 10:32:06 +03:00
ptrack_vacuum.py new tests added 2017-09-28 10:32:06 +03:00
ptrack.py tests: minor fix to ptrack tests 2018-04-02 14:59:19 +03:00
Readme.md tests: testgres version in Readme fix 2018-02-14 10:31:30 +03:00
replica.py fux replica.py 2017-11-08 10:55:48 +03:00
restore_test.py tests: minor fixes 2018-03-03 11:42:10 +03:00
retention_test.py tests: fixes for testgres1 2018-01-28 04:36:27 +03:00
show_test.py tests: fixes for testgres1 2018-01-28 04:36:27 +03:00
validate_test.py Merge branch 'pgpro-1504' 2018-03-17 01:41:35 +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

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