CLOUDSTACK-8952 - Reduce retried from 20 to 5

- We do not need to retry that much
This commit is contained in:
Wilder Rodrigues 2015-10-17 12:09:26 +02:00
parent 5b3c99031f
commit 2a747ca735
3 changed files with 3 additions and 3 deletions

View File

@ -20,6 +20,6 @@ STATUS=BACKUP
ETH1_STATE=$(ip addr | grep eth1 | grep state | awk '{print $9;}')
if [ $ETH1_STATE = "UP" ]
then
STATUS=MASTER
STATUS=MASTER
fi
echo "Status: ${STATUS}"

View File

@ -20,6 +20,6 @@ STATUS=BACKUP
ETH1_STATE=$(ip addr | grep eth1 | grep state | awk '{print $9;}')
if [ $ETH1_STATE = "UP" ]
then
STATUS=MASTER
STATUS=MASTER
fi
echo "Status: ${STATUS}"

View File

@ -555,7 +555,7 @@ class TestVPCRedundancy(cloudstackTestCase):
time.sleep(5)
def do_vpc_test(self, expectFail):
retries = 20
retries = 5
if expectFail:
retries = 2
for o in self.networks: