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

Commit2ec247d

Browse files
committed
tests: minor fixes
1 parentab2d595 commit2ec247d

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

‎tests/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ def load_tests(loader, tests, pattern):
1616
ifos.environ['PG_PROBACKUP_TEST_BASIC']=='ON':
1717
loader.testMethodPrefix='test_basic'
1818

19+
if'PG_PROBACKUP_PTRACK'inos.environ:
20+
ifos.environ['PG_PROBACKUP_PTRACK']=='ON':
21+
suite.addTests(loader.loadTestsFromModule(ptrack))
22+
1923
# suite.addTests(loader.loadTestsFromModule(auth_test))
2024
suite.addTests(loader.loadTestsFromModule(archive))
2125
suite.addTests(loader.loadTestsFromModule(backup))
@@ -49,10 +53,6 @@ def load_tests(loader, tests, pattern):
4953
suite.addTests(loader.loadTestsFromModule(time_stamp))
5054
suite.addTests(loader.loadTestsFromModule(validate))
5155

52-
if'PG_PROBACKUP_PTRACK'inos.environ:
53-
ifos.environ['PG_PROBACKUP_PTRACK']=='ON':
54-
suite.addTests(loader.loadTestsFromModule(ptrack))
55-
5656
returnsuite
5757

5858
# test_pgpro434_2 unexpected success

‎tests/merge.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1632,9 +1632,7 @@ def test_losing_file_after_failed_merge(self):
16321632
gdb.run_until_break()
16331633

16341634
gdb.set_breakpoint('fio_fwrite')
1635-
gdb.continue_execution_until_break()
1636-
1637-
gdb._execute('bt')
1635+
gdb.continue_execution_until_break(2)
16381636

16391637
gdb._execute('signal SIGKILL')
16401638

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp