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

Skip to content

Commit dbbfee4

Browse files
committed
tests: disable ptrack testing for PG < 11
1 parent 45b7816 commit dbbfee4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/helpers/ptrack_helpers.py

+6
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,12 @@ def __init__(self, *args, **kwargs):
312312

313313
os.environ["PGAPPNAME"] = "pg_probackup"
314314

315+
if self.ptrack:
316+
self.assertGreaterEqual(
317+
self.pg_config_version,
318+
self.version_to_num('11.0'),
319+
"ptrack testing require PostgreSQL >= 11")
320+
315321
@property
316322
def pg_config_version(self):
317323
return self.version_to_num(

0 commit comments

Comments
 (0)