Skip to content

Commit 94f9b35

Browse files
authored
PBCKP-634 test shorter make_node (#83)
1 parent 3cc9d67 commit 94f9b35

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Diff for: setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
readme = f.read()
2828

2929
setup(
30-
version='1.8.7',
30+
version='1.8.8',
3131
name='testgres',
3232
packages=['testgres'],
3333
description='Testing utility for PostgreSQL and its extensions',

Diff for: testgres/node.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -1593,8 +1593,10 @@ def make_simple(
15931593
set_replication=False,
15941594
ptrack_enable=False,
15951595
initdb_params=[],
1596-
pg_options={}):
1597-
1596+
pg_options={},
1597+
checksum=True):
1598+
if checksum and '--data-checksums' not in initdb_params:
1599+
initdb_params.append('--data-checksums')
15981600
node = self.make_empty(base_dir)
15991601
node.init(
16001602
initdb_params=initdb_params, allow_streaming=set_replication)

0 commit comments

Comments
 (0)