Skip to content

Fix auto conf test #214

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,3 @@ env:
- TEST_PLATFORM=std PYTHON_VERSION=3 PG_VERSION=10
- TEST_PLATFORM=std.all PYTHON_VERSION=3 PG_VERSION=17
- TEST_PLATFORM=ubuntu-24_04 PYTHON_VERSION=3 PG_VERSION=17

matrix:
allow_failures:
- env: TEST_PLATFORM=std PYTHON_VERSION=3 PG_VERSION=11
- env: TEST_PLATFORM=std PYTHON_VERSION=3 PG_VERSION=10
7 changes: 4 additions & 3 deletions tests/test_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -1451,9 +1451,6 @@ def test_set_auto_conf(self):
["archive_command",
"cp '%p' \"/mnt/server/archivedir/%f\"",
"'cp \\'%p\\' \"/mnt/server/archivedir/%f\""],
["restore_command",
'cp "/mnt/server/archivedir/%f" \'%p\'',
"'cp \"/mnt/server/archivedir/%f\" \\'%p\\''"],
["log_line_prefix",
"'\n\r\t\b\\\"",
"'\\\'\\n\\r\\t\\b\\\\\""],
Expand All @@ -1467,6 +1464,10 @@ def test_set_auto_conf(self):
3,
"3"]
]
if pg_version_ge('12'):
testData.append(["restore_command",
'cp "/mnt/server/archivedir/%f" \'%p\'',
"'cp \"/mnt/server/archivedir/%f\" \\'%p\\''"])

with get_new_node() as node:
node.init().start()
Expand Down