From 384b6c7cd44b7a42390689a322027d1bcd83a31d Mon Sep 17 00:00:00 2001 From: Wilder Rodrigues Date: Tue, 13 Oct 2015 16:13:52 +0200 Subject: [PATCH] CLOUDSTACK-8947 - Fail fast! - If we canno SSH after 5 retries, it means it's not working. Do not wait for 60 attempts --- test/integration/smoke/test_loadbalance.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/integration/smoke/test_loadbalance.py b/test/integration/smoke/test_loadbalance.py index 7da63ed7922..6e639de323e 100644 --- a/test/integration/smoke/test_loadbalance.py +++ b/test/integration/smoke/test_loadbalance.py @@ -133,7 +133,8 @@ class TestLoadBalance(cloudstackTestCase): ip_addr, self.services['lbrule']["publicport"], self.vm_1.username, - self.vm_1.password + self.vm_1.password, + retries=5 ) hostnames.append(ssh_1.execute("hostname")[0]) self.debug(hostnames)