From 17f905eb3526d817affaa48f1bd2a59260a3642e Mon Sep 17 00:00:00 2001 From: Andrew Klychkov Date: Tue, 7 Jul 2020 11:33:35 +0300 Subject: [PATCH] postgres modules: fix CI timeouts (#628) --- .../targets/postgresql_slot/tasks/postgresql_slot_initial.yml | 1 + .../tasks/postgresql_user_obj_stat_info.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/integration/targets/postgresql_slot/tasks/postgresql_slot_initial.yml b/tests/integration/targets/postgresql_slot/tasks/postgresql_slot_initial.yml index 0ca4a349e0..711889b0f6 100644 --- a/tests/integration/targets/postgresql_slot/tasks/postgresql_slot_initial.yml +++ b/tests/integration/targets/postgresql_slot/tasks/postgresql_slot_initial.yml @@ -32,6 +32,7 @@ service: name: "{{ postgresql_service }}" state: stopped + when: (ansible_facts.distribution_major_version != '8' and ansible_facts.distribution == 'CentOS') or ansible_facts.distribution != 'CentOS' - name: postgresql_slot - pause between stop and start PostgreSQL pause: diff --git a/tests/integration/targets/postgresql_user_obj_stat_info/tasks/postgresql_user_obj_stat_info.yml b/tests/integration/targets/postgresql_user_obj_stat_info/tasks/postgresql_user_obj_stat_info.yml index 378baf7c97..6e6ff212ff 100644 --- a/tests/integration/targets/postgresql_user_obj_stat_info/tasks/postgresql_user_obj_stat_info.yml +++ b/tests/integration/targets/postgresql_user_obj_stat_info/tasks/postgresql_user_obj_stat_info.yml @@ -73,6 +73,7 @@ service: name: "{{ postgresql_service }}" state: stopped + when: (ansible_facts.distribution_major_version != '8' and ansible_facts.distribution == 'CentOS') or ansible_facts.distribution != 'CentOS' - name: Pause between stop and start PosgreSQL pause: