From 98415dec86bbf92a321281690870b0b911bed51d Mon Sep 17 00:00:00 2001 From: Andrey Klychkov Date: Tue, 17 Sep 2019 15:32:45 +0300 Subject: [PATCH] postgresql_copy: move ci tests to a separate target (#62398) --- test/integration/targets/postgresql/aliases | 1 - test/integration/targets/postgresql/tasks/main.yml | 3 --- test/integration/targets/postgresql_copy/aliases | 4 ++++ test/integration/targets/postgresql_copy/meta/main.yml | 3 +++ test/integration/targets/postgresql_copy/tasks/main.yml | 3 +++ .../tasks/postgresql_copy_initial.yml} | 0 6 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 test/integration/targets/postgresql_copy/aliases create mode 100644 test/integration/targets/postgresql_copy/meta/main.yml create mode 100644 test/integration/targets/postgresql_copy/tasks/main.yml rename test/integration/targets/{postgresql/tasks/postgresql_copy.yml => postgresql_copy/tasks/postgresql_copy_initial.yml} (100%) diff --git a/test/integration/targets/postgresql/aliases b/test/integration/targets/postgresql/aliases index 8a82fbc322a..1f3b595e63f 100644 --- a/test/integration/targets/postgresql/aliases +++ b/test/integration/targets/postgresql/aliases @@ -1,6 +1,5 @@ destructive shippable/posix/group4 -postgresql_copy postgresql_db postgresql_ext postgresql_idx diff --git a/test/integration/targets/postgresql/tasks/main.yml b/test/integration/targets/postgresql/tasks/main.yml index 6c3932a0209..f8559f20c28 100644 --- a/test/integration/targets/postgresql/tasks/main.yml +++ b/test/integration/targets/postgresql/tasks/main.yml @@ -19,9 +19,6 @@ # Test postgresql_set - postgresql_set.yml - # Test postgresql_copy module - - postgresql_copy.yml - # Test postgresql_slot module. # Physical replication slots are available from PostgreSQL 9.4 - postgresql_slot.yml diff --git a/test/integration/targets/postgresql_copy/aliases b/test/integration/targets/postgresql_copy/aliases new file mode 100644 index 00000000000..ded1c5ac94a --- /dev/null +++ b/test/integration/targets/postgresql_copy/aliases @@ -0,0 +1,4 @@ +destructive +shippable/posix/group4 +postgresql_copy +skip/osx diff --git a/test/integration/targets/postgresql_copy/meta/main.yml b/test/integration/targets/postgresql_copy/meta/main.yml new file mode 100644 index 00000000000..85b1dc7e4cf --- /dev/null +++ b/test/integration/targets/postgresql_copy/meta/main.yml @@ -0,0 +1,3 @@ +--- +dependencies: + - setup_postgresql_db diff --git a/test/integration/targets/postgresql_copy/tasks/main.yml b/test/integration/targets/postgresql_copy/tasks/main.yml new file mode 100644 index 00000000000..91e692530e2 --- /dev/null +++ b/test/integration/targets/postgresql_copy/tasks/main.yml @@ -0,0 +1,3 @@ +# Initial CI test for postgresql_copy module +- import_tasks: postgresql_copy_initial.yml + when: postgres_version_resp.stdout is version('9.4', '>=') diff --git a/test/integration/targets/postgresql/tasks/postgresql_copy.yml b/test/integration/targets/postgresql_copy/tasks/postgresql_copy_initial.yml similarity index 100% rename from test/integration/targets/postgresql/tasks/postgresql_copy.yml rename to test/integration/targets/postgresql_copy/tasks/postgresql_copy_initial.yml