Skip to content

PBCKP-634 test shorter make_node #83

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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