Skip to content

Commit

Permalink
PBCKP-634 test shorter make_node (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
demonolock authored Jun 6, 2023
1 parent 3cc9d67 commit 94f9b35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
6 changes: 4 additions & 2 deletions testgres/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 94f9b35

Please sign in to comment.