Skip to content

Commit 721ffb7

Browse files
committed
tests: minor fix
1 parent 5c3acb6 commit 721ffb7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/ptrack.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1732,7 +1732,8 @@ def test_atexit_fail(self):
17321732
pg_options={
17331733
'ptrack_enable': 'on',
17341734
'wal_level': 'replica',
1735-
'max_wal_senders': '2'})
1735+
'max_wal_senders': '2',
1736+
'max_connections': '15'})
17361737
backup_dir = os.path.join(self.tmp_path, module_name, fname, 'backup')
17371738
self.init_pb(backup_dir)
17381739
self.add_instance(backup_dir, 'node', node)
@@ -1745,7 +1746,7 @@ def test_atexit_fail(self):
17451746
try:
17461747
self.backup_node(
17471748
backup_dir, 'node', node, backup_type='ptrack',
1748-
options=["--stream", "-j 300"]
1749+
options=["--stream", "-j 30"]
17491750
)
17501751
# we should die here because exception is what we expect to happen
17511752
self.assertEqual(

0 commit comments

Comments
 (0)