Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7ab07a5

Browse files
committed
Fix tests
- remove outdated comment about ptrack - stop compatibility tests from launching two times - make test_tablespace_in_pgdata_pgpro_1376 clean up after itself
1 parent b065f09 commit 7ab07a5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/__init__.py

-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ def load_tests(loader, tests, pattern):
2121
# suite.addTests(loader.loadTestsFromModule(cfs_validate_backup))
2222
# suite.addTests(loader.loadTestsFromModule(logging))
2323
suite.addTests(loader.loadTestsFromModule(compression))
24-
suite.addTests(loader.loadTestsFromModule(compatibility))
2524
suite.addTests(loader.loadTestsFromModule(delete_test))
2625
suite.addTests(loader.loadTestsFromModule(delta))
2726
suite.addTests(loader.loadTestsFromModule(exclude))
@@ -62,8 +61,6 @@ def load_tests(loader, tests, pattern):
6261
# logging:
6362
# https://jira.postgrespro.ru/browse/PGPRO-584
6463
# https://jira.postgrespro.ru/secure/attachment/20420/20420_doc_logging.md
65-
# ptrack:
66-
# ptrack backup on replica should work correctly
6764
# archive:
6865
# immediate recovery and full recovery
6966
# backward compatibility:

tests/backup_test.py

+3
Original file line numberDiff line numberDiff line change
@@ -520,3 +520,6 @@ def test_tablespace_in_pgdata_pgpro_1376(self):
520520
if self.paranoia:
521521
pgdata_restored = self.pgdata_content(node.data_dir)
522522
self.compare_pgdata(pgdata, pgdata_restored)
523+
524+
# Clean after yourself
525+
self.del_test_dir(module_name, fname)

0 commit comments

Comments
 (0)