From 3eb6ba0699d1d768c78dee0da960ec0dc0dbf52f Mon Sep 17 00:00:00 2001 From: Wilder Rodrigues Date: Fri, 23 Oct 2015 15:59:03 +0200 Subject: [PATCH] CLOUDSTACK-8935 - Do not retry 60 times when we expect the SSH to fail --- test/integration/smoke/test_network.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/integration/smoke/test_network.py b/test/integration/smoke/test_network.py index 80a093285c6..05dd67aeb12 100644 --- a/test/integration/smoke/test_network.py +++ b/test/integration/smoke/test_network.py @@ -432,7 +432,9 @@ class TestPortForwarding(cloudstackTestCase): src_nat_ip_addr.ipaddress, self.virtual_machine.ssh_port, self.virtual_machine.username, - self.virtual_machine.password + self.virtual_machine.password, + retries=2, + delay=0 ) return @@ -726,7 +728,8 @@ class TestRebootRouter(cloudstackTestCase): self.public_ip.ipaddress.ipaddress, self.services["natrule"]["publicport"], self.vm_1.username, - self.vm_1.password + self.vm_1.password, + retries=5 ) except Exception as e: self.fail(