Skip to content

Commit b7626f4

Browse files
authored
[test_sensubility] Increase number of retries on metrics check (#274)
* Updating retries for fvt that are failing
1 parent b64bd79 commit b7626f4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

roles/test_sensubility/tasks/test_health_status.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
failed_when: container_nodes.stdout_lines|length != 1
1414

1515

16-
1716
- name: RHELOSP-176012 Stop logrotate_crond container on ceph-0
1817
ansible.builtin.shell:
1918
cmd: |
@@ -43,7 +42,7 @@
4342
cmd: /usr/bin/curl -k {{ prom_auth_string }} -g https://{{ prom_url }}/api/v1/query? --data-urlencode 'query=last_over_time(sensubility_container_health_status{process="logrotate_crond",host="ceph-0.redhat.local"}[10m])' | grep -oP '(?<="value":).*' | awk -F, '{ print $2 }' | grep -o '[0-9]\+' | grep 0
4443
register: output
4544
changed_when: false
46-
retries: 20
45+
retries: 60
4746
delay: 10
4847
until: "output.stdout_lines | length == 1"
4948

@@ -66,7 +65,7 @@
6665
| grep -oP '(?<="value":).*' | awk -F, '{ print $2 }' | grep -o '[0-9]\+' | grep 1
6766
register: output
6867
changed_when: false
69-
retries: 20
68+
retries: 60
7069
delay: 10
7170
until: "output.stdout_lines | length == 1"
7271

0 commit comments

Comments
 (0)