From edc04a430c856d98eccff6bf23a4501392240f54 Mon Sep 17 00:00:00 2001 From: "v.shepard" Date: Mon, 5 Jun 2023 18:03:32 +0200 Subject: [PATCH] PBCKP-634 test shorter make_node --- setup.py | 2 +- testgres/node.py | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 2e8c4ed0..1332e8ab 100755 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ readme = f.read() setup( - version='1.8.7', + version='1.8.8', name='testgres', packages=['testgres'], description='Testing utility for PostgreSQL and its extensions', diff --git a/testgres/node.py b/testgres/node.py index e6ac44b0..659a62f8 100644 --- a/testgres/node.py +++ b/testgres/node.py @@ -1593,8 +1593,10 @@ def make_simple( set_replication=False, ptrack_enable=False, initdb_params=[], - pg_options={}): - + pg_options={}, + checksum=True): + if checksum and '--data-checksums' not in initdb_params: + initdb_params.append('--data-checksums') node = self.make_empty(base_dir) node.init( initdb_params=initdb_params, allow_streaming=set_replication)