From 6a0b6b2a97023a9d06f3bde32eea1b180b74f874 Mon Sep 17 00:00:00 2001 From: sfalkon Date: Fri, 3 Nov 2017 16:35:23 +0300 Subject: [PATCH] fix ptrack --- tests/helpers/ptrack_helpers.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/helpers/ptrack_helpers.py b/tests/helpers/ptrack_helpers.py index e34d2623..b2f6c330 100644 --- a/tests/helpers/ptrack_helpers.py +++ b/tests/helpers/ptrack_helpers.py @@ -165,7 +165,10 @@ class ProbackupTest(object): node = testgres.get_new_node('test', base_dir=real_base_dir) node.should_rm_dirs = True - node.init(initdb_params=initdb_params, allow_streaming=set_replication) + try: + node.init(initdb_params=initdb_params, allows_streaming=set_replication) + except: + node.init(initdb_params=initdb_params, allow_streaming=set_replication) # Sane default parameters, not a shit with fsync = off from testgres node.append_conf("postgresql.auto.conf", "shared_buffers = 10MB")