2016-12-09 20:30:22 +02:00
|
|
|
import unittest
|
|
|
|
|
2018-10-15 11:27:51 +02:00
|
|
|
from . import init_test, merge, option_test, show_test, compatibility, \
|
2018-10-10 14:17:45 +02:00
|
|
|
backup_test, delete_test, delta, restore_test, validate_test, \
|
2019-03-02 01:29:58 +02:00
|
|
|
retention_test, pgpro560, pgpro589, pgpro2068, false_positive, replica, \
|
2019-02-26 20:26:30 +02:00
|
|
|
compression, page, ptrack, archive, exclude, cfs_backup, cfs_restore, \
|
|
|
|
cfs_validate_backup, auth_test, time_stamp, snapfs, logging, \
|
2019-03-01 22:03:01 +02:00
|
|
|
locking, remote, external
|
2017-05-03 13:14:48 +02:00
|
|
|
|
2016-12-09 20:30:22 +02:00
|
|
|
|
|
|
|
def load_tests(loader, tests, pattern):
|
2017-05-03 13:14:48 +02:00
|
|
|
suite = unittest.TestSuite()
|
2017-12-13 10:15:42 +02:00
|
|
|
# suite.addTests(loader.loadTestsFromModule(auth_test))
|
2017-11-30 08:14:46 +02:00
|
|
|
suite.addTests(loader.loadTestsFromModule(archive))
|
2017-10-09 14:32:48 +02:00
|
|
|
suite.addTests(loader.loadTestsFromModule(backup_test))
|
2018-10-15 11:27:51 +02:00
|
|
|
suite.addTests(loader.loadTestsFromModule(compatibility))
|
2018-11-28 20:32:49 +02:00
|
|
|
# suite.addTests(loader.loadTestsFromModule(cfs_backup))
|
|
|
|
# suite.addTests(loader.loadTestsFromModule(cfs_restore))
|
2017-11-30 08:14:46 +02:00
|
|
|
# suite.addTests(loader.loadTestsFromModule(cfs_validate_backup))
|
|
|
|
# suite.addTests(loader.loadTestsFromModule(logging))
|
|
|
|
suite.addTests(loader.loadTestsFromModule(compression))
|
2017-10-09 14:32:48 +02:00
|
|
|
suite.addTests(loader.loadTestsFromModule(delete_test))
|
2018-10-10 14:17:45 +02:00
|
|
|
suite.addTests(loader.loadTestsFromModule(delta))
|
2017-11-30 08:14:46 +02:00
|
|
|
suite.addTests(loader.loadTestsFromModule(exclude))
|
|
|
|
suite.addTests(loader.loadTestsFromModule(false_positive))
|
|
|
|
suite.addTests(loader.loadTestsFromModule(init_test))
|
2019-01-31 11:03:02 +02:00
|
|
|
suite.addTests(loader.loadTestsFromModule(locking))
|
2019-01-25 20:33:34 +02:00
|
|
|
suite.addTests(loader.loadTestsFromModule(logging))
|
2018-10-10 14:17:45 +02:00
|
|
|
suite.addTests(loader.loadTestsFromModule(merge))
|
2017-11-30 08:14:46 +02:00
|
|
|
suite.addTests(loader.loadTestsFromModule(option_test))
|
|
|
|
suite.addTests(loader.loadTestsFromModule(page))
|
2019-03-01 18:19:56 +02:00
|
|
|
# suite.addTests(loader.loadTestsFromModule(ptrack))
|
2019-01-31 18:47:44 +02:00
|
|
|
suite.addTests(loader.loadTestsFromModule(remote))
|
2017-10-09 14:32:48 +02:00
|
|
|
suite.addTests(loader.loadTestsFromModule(replica))
|
2017-11-30 08:14:46 +02:00
|
|
|
suite.addTests(loader.loadTestsFromModule(restore_test))
|
|
|
|
suite.addTests(loader.loadTestsFromModule(retention_test))
|
|
|
|
suite.addTests(loader.loadTestsFromModule(show_test))
|
2019-01-25 18:37:21 +02:00
|
|
|
suite.addTests(loader.loadTestsFromModule(snapfs))
|
2017-11-30 08:14:46 +02:00
|
|
|
suite.addTests(loader.loadTestsFromModule(validate_test))
|
2017-10-09 14:32:48 +02:00
|
|
|
suite.addTests(loader.loadTestsFromModule(pgpro560))
|
|
|
|
suite.addTests(loader.loadTestsFromModule(pgpro589))
|
2019-03-25 23:55:30 +02:00
|
|
|
suite.addTests(loader.loadTestsFromModule(pgpro2068))
|
2018-07-18 14:19:39 +02:00
|
|
|
suite.addTests(loader.loadTestsFromModule(time_stamp))
|
2019-01-16 15:33:27 +02:00
|
|
|
suite.addTests(loader.loadTestsFromModule(external))
|
2016-12-09 20:30:22 +02:00
|
|
|
|
2017-05-03 13:14:48 +02:00
|
|
|
return suite
|
2017-07-12 16:28:28 +02:00
|
|
|
|
2017-11-09 11:45:04 +02:00
|
|
|
# test_pgpro434_2 unexpected success
|
2017-07-12 16:28:28 +02:00
|
|
|
# ToDo:
|
|
|
|
# archive:
|
|
|
|
# discrepancy of instance`s SYSTEMID and node`s SYSTEMID should lead to archive-push refusal to work
|
|
|
|
# logging:
|
|
|
|
# https://jira.postgrespro.ru/browse/PGPRO-584
|
|
|
|
# https://jira.postgrespro.ru/secure/attachment/20420/20420_doc_logging.md
|
2017-10-09 14:32:48 +02:00
|
|
|
# archive:
|
|
|
|
# immediate recovery and full recovery
|