mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-07-29 19:04:39 +00:00
Add test for openshift apply bug
Fails using 0.11.0
This commit is contained in:
@@ -229,6 +229,12 @@
|
||||
protocol: TCP
|
||||
register: update_deploy
|
||||
|
||||
# It looks like the Deployment is updated to have the desired state *before* the pods are terminated
|
||||
# Wait a couple of seconds to allow the old pods to at least get to Terminating state
|
||||
- name: Avoid race condition
|
||||
pause:
|
||||
seconds: 2
|
||||
|
||||
- name: Get updated pods
|
||||
k8s_info:
|
||||
api_version: v1
|
||||
|
||||
Reference in New Issue
Block a user