From 22a5a064d94dbf52cc54ef1d9b950e873106fb57 Mon Sep 17 00:00:00 2001 From: sfalkon Date: Fri, 3 Nov 2017 14:25:35 +0300 Subject: [PATCH] fix ptrack --- tests/helpers/ptrack_helpers.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/helpers/ptrack_helpers.py b/tests/helpers/ptrack_helpers.py index f7f8c3e8..6f75c058 100644 --- a/tests/helpers/ptrack_helpers.py +++ b/tests/helpers/ptrack_helpers.py @@ -170,7 +170,8 @@ class ProbackupTest(object): node = testgres.get_new_node('test', base_dir=real_base_dir) node.should_rm_base_dir = True - node.init(initdb_params=initdb_params) + + 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") @@ -192,9 +193,9 @@ class ProbackupTest(object): if set_replication: try: node.set_replication_conf() + node.append_conf("postgresql.auto.conf", "max_wal_senders = 10") except: pass - node.append_conf("postgresql.auto.conf", "max_wal_senders = 10") return node def create_tblspace_in_node(self, node, tblspc_name, cfs=False):