Skip to content

Commit cf10582

Browse files
committed
[PBCKP-423] remove redundant ptrack warning
1 parent b2cf9af commit cf10582

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/archive_test.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1929,6 +1929,13 @@ def test_archive_push_sanity(self):
19291929
with open(os.path.join(replica.logs_dir, 'postgresql.log'), 'r') as f:
19301930
replica_log_content = f.read()
19311931

1932+
# PBCKP-423 - need to clean ptrack warning
1933+
ptrack_is_not = 'Ptrack 1.X is not supported anymore'
1934+
if ptrack_is_not in replica_log_content:
1935+
lines = [line for line in replica_log_content.splitlines()
1936+
if ptrack_is_not not in line]
1937+
replica_log_content = "".join(lines)
1938+
19321939
# make sure that .partial file is not compressed
19331940
self.assertNotIn('.partial.gz', replica_log_content)
19341941
# make sure that .history file is not compressed

0 commit comments

Comments
 (0)