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

Commitf2c000c

Browse files
demonolockvshepard
and
vshepard
authored
Fix auto conf test (#214)
* Fix test_set_auto_conf for Postgresql 10, 11* Remove allow failures---------Co-authored-by: vshepard <v.shepard@postgrespro.ru>
1 parent438e845 commitf2c000c

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

‎.travis.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,3 @@ env:
2929
-TEST_PLATFORM=std PYTHON_VERSION=3 PG_VERSION=10
3030
-TEST_PLATFORM=std.all PYTHON_VERSION=3 PG_VERSION=17
3131
-TEST_PLATFORM=ubuntu-24_04 PYTHON_VERSION=3 PG_VERSION=17
32-
33-
matrix:
34-
allow_failures:
35-
-env:TEST_PLATFORM=std PYTHON_VERSION=3 PG_VERSION=11
36-
-env:TEST_PLATFORM=std PYTHON_VERSION=3 PG_VERSION=10

‎tests/test_simple.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1464,9 +1464,6 @@ def test_set_auto_conf(self):
14641464
["archive_command",
14651465
"cp '%p'\"/mnt/server/archivedir/%f\"",
14661466
"'cp\\'%p\\'\"/mnt/server/archivedir/%f\""],
1467-
["restore_command",
1468-
'cp "/mnt/server/archivedir/%f"\'%p\'',
1469-
"'cp\"/mnt/server/archivedir/%f\"\\'%p\\''"],
14701467
["log_line_prefix",
14711468
"'\n\r\t\b\\\"",
14721469
"'\\\'\\n\\r\\t\\b\\\\\""],
@@ -1480,6 +1477,10 @@ def test_set_auto_conf(self):
14801477
3,
14811478
"3"]
14821479
]
1480+
ifpg_version_ge('12'):
1481+
testData.append(["restore_command",
1482+
'cp "/mnt/server/archivedir/%f"\'%p\'',
1483+
"'cp\"/mnt/server/archivedir/%f\"\\'%p\\''"])
14831484

14841485
withget_new_node()asnode:
14851486
node.init().start()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp