Skip to content

Commit 79b9864

Browse files
author
Oleg Gurev
committed
Fix tests to skip if no GDB enabled:
test_recovery_target_lsn_backup_victim test_incr_restore_issue_313 test_restore_issue_313
1 parent 25b2c7e commit 79b9864

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

tests/false_positive_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ def test_recovery_target_lsn_backup_victim(self):
214214
@y.sokolov: looks like this test should pass.
215215
So I commented 'expectedFailure'
216216
"""
217+
self._check_gdb_flag_or_skip_test()
217218
backup_dir = os.path.join(self.tmp_path, self.module_name, self.fname, 'backup')
218219
node = self.make_simple_node(
219220
base_dir=os.path.join(self.module_name, self.fname, 'node'),

tests/incr_restore_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2429,7 +2429,7 @@ def test_incr_restore_issue_313(self):
24292429
"""
24302430
Check that failed incremental restore can be restarted
24312431
"""
2432-
self._check_gdb_flag_or_skip_test
2432+
self._check_gdb_flag_or_skip_test()
24332433
node = self.make_simple_node('node',
24342434
set_replication=True,
24352435
initdb_params=['--data-checksums'])

tests/restore_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3866,7 +3866,7 @@ def test_restore_issue_313(self):
38663866
"""
38673867
Check that partially restored PostgreSQL instance cannot be started
38683868
"""
3869-
self._check_gdb_flag_or_skip_test
3869+
self._check_gdb_flag_or_skip_test()
38703870
node = self.make_simple_node('node',
38713871
set_replication=True,
38723872
initdb_params=['--data-checksums'])

0 commit comments

Comments
 (0)