mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-03-26 21:33:02 +00:00
k8s_rollback/tests: speed up test (#518)
k8s_rollback/tests: speed up test Set a low timeout for the tasks that are expected to fail fast to speed up the whole tests. Reviewed-by: Mike Graves <mgraves@redhat.com>
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
- name: Set variables
|
||||
set_fact:
|
||||
namespace: "{{ test_namespace }}"
|
||||
|
||||
k8s_wait_timeout: 180
|
||||
- name: Create a deployment
|
||||
k8s:
|
||||
state: present
|
||||
wait: yes
|
||||
wait_timeout: "{{ k8s_wait_timeout | default(omit) }}"
|
||||
wait_timeout: "{{ k8s_wait_timeout }}"
|
||||
inline: &deploy
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
@@ -38,7 +38,7 @@
|
||||
k8s:
|
||||
state: present
|
||||
wait: yes
|
||||
wait_timeout: "{{ k8s_wait_timeout | default(omit) }}"
|
||||
wait_timeout: 30
|
||||
definition:
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
@@ -134,7 +134,7 @@
|
||||
k8s:
|
||||
state: present
|
||||
wait: yes
|
||||
wait_timeout: "{{ k8s_wait_timeout | default(omit) }}"
|
||||
wait_timeout: 30
|
||||
definition:
|
||||
apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
|
||||
Reference in New Issue
Block a user