diff --git a/.travis.yml b/.travis.yml index 7fb34808..997945b5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/tests/test_simple.py b/tests/test_simple.py index d9844fed..28ad0c27 100644 --- a/tests/test_simple.py +++ b/tests/test_simple.py @@ -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\\\\\""], @@ -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()