Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit79b9864

Browse files
author
Oleg Gurev
committed
Fix tests to skip if no GDB enabled:
test_recovery_target_lsn_backup_victimtest_incr_restore_issue_313test_restore_issue_313
1 parent25b2c7e commit79b9864

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)

[8]ページ先頭

©2009-2025 Movatter.jp