From 19d0159e339986a811cd1cb647951a41d73a4072 Mon Sep 17 00:00:00 2001 From: Matthew Mosesohn Date: Mon, 20 Feb 2017 17:09:34 +0300 Subject: [PATCH] Raise timeout for get netchecker agents --- tests/testcases/040_check-network-adv.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/testcases/040_check-network-adv.yml b/tests/testcases/040_check-network-adv.yml index 21d265bf5..fded3155f 100644 --- a/tests/testcases/040_check-network-adv.yml +++ b/tests/testcases/040_check-network-adv.yml @@ -44,7 +44,7 @@ run_once: true delegate_to: "{{groups['kube-master'][0]}}" register: agents - retries: 6 + retries: 18 delay: "{{ agent_report_interval }}" until: "{{ agents.content|length > 0 and agents.content[0] == '{' and @@ -55,7 +55,7 @@ - debug: var=agents.content|from_json failed_when: not agents|success and not agents.content=='{}' run_once: true - + - name: Check netchecker status uri: url=http://localhost:{{netchecker_port}}/api/v1/connectivity_check status_code=200 return_content=yes delegate_to: "{{groups['kube-master'][0]}}" @@ -71,6 +71,7 @@ failed_when: not result|success run_once: true when: not agents.content=='{}' + delegate_to: "{{groups['kube-master'][0]}}" - debug: msg="Cannot get reports from agents, consider as PASSING" run_once: true