Poll for up to 2m for VM ip address 89/59989/2
authorJamo Luhrsen <jluhrsen@redhat.com>
Wed, 5 Jul 2017 22:12:46 +0000 (15:12 -0700)
committerLuis Gomez <ecelgp@gmail.com>
Thu, 6 Jul 2017 01:38:27 +0000 (01:38 +0000)
Change-Id: If08d504c77756dc252126347ee950ffaeae27af0
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
csit/suites/netvirt/ElanService/ElanService.robot

index f1686912dce8b6afee60ccf46e8d06f3eb697de2..64bbf95a072a4783c2167a69dbfaa6dc0b130cee 100644 (file)
@@ -70,7 +70,7 @@ Verify Datapath After Recreate VM Instance
     Log    ReCreate VM and verify flow updated
     Create Vm Instance With Port On Compute Node    ${ELAN1_PORT_LIST[0]}    ${VM_INSTANCES_ELAN1[0]}    ${OS_COMPUTE_1_IP}
     Wait Until Keyword Succeeds    30s    10s    Verify VM Is ACTIVE    ${VM_INSTANCES_ELAN1[0]}
-    ${VM_IP_ELAN1}    ${DHCP_IP_ELAN1}    Wait Until Keyword Succeeds    60s    10s    Collect VM IP Addresses    true
+    ${VM_IP_ELAN1}    ${DHCP_IP_ELAN1}    Wait Until Keyword Succeeds    120s    10s    Collect VM IP Addresses    true
     ...    @{VM_INSTANCES_ELAN1}
     Log    ${VM_IP_ELAN1}
     Set Suite Variable    ${VM_IP_ELAN1}
@@ -117,7 +117,7 @@ Verify Datapath for Multiple ELAN with Multiple DPN
     # collected immediately after when that step fails, as is the nature of robot test cases.
     Reboot Nova VM    ${VM_INSTANCES_ELAN2[0]}
     Wait Until Keyword Succeeds    30s    10s    Verify VM Is ACTIVE    ${VM_INSTANCES_ELAN2[0]}
-    ${VM_IP_ELAN2}    ${DHCP_IP_ELAN2}    Wait Until Keyword Succeeds    30s    10s    Collect VM IP Addresses    true
+    ${VM_IP_ELAN2}    ${DHCP_IP_ELAN2}    Wait Until Keyword Succeeds    120s    10s    Collect VM IP Addresses    true
     ...    @{VM_INSTANCES_ELAN2}
     Log    ${VM_IP_ELAN2}
     Should Not Contain    ${VM_IP_ELAN2}    None
@@ -165,7 +165,7 @@ SingleElan SuiteSetup
     : FOR    ${VM}    IN    @{VM_INSTANCES_ELAN1}
     \    Wait Until Keyword Succeeds    25s    5s    Verify VM Is ACTIVE    ${VM}
     Log    Get IP address for ELAN1
-    Wait Until Keyword Succeeds    50s    10s    Collect VM IP Addresses    true    @{VM_INSTANCES_ELAN1}
+    Wait Until Keyword Succeeds    120s    10s    Collect VM IP Addresses    true    @{VM_INSTANCES_ELAN1}
     ${VM_IP_ELAN1}    ${DHCP_IP_ELAN1}    Collect VM IP Addresses    false    @{VM_INSTANCES_ELAN1}
     Log    ${VM_IP_ELAN1}
     Set Suite Variable    ${VM_IP_ELAN1}
@@ -191,11 +191,11 @@ MultipleElan Testsuite Setup
     ${VM_INSTANCES} =    Create List    @{VM_INSTANCES_ELAN2}    @{VM_INSTANCES_ELAN3}
     : FOR    ${VM}    IN    @{VM_INSTANCES}
     \    Wait Until Keyword Succeeds    25s    5s    Verify VM Is ACTIVE    ${VM}
-    ${VM_IP_ELAN2}    ${DHCP_IP_ELAN2}    Wait Until Keyword Succeeds    30s    10s    Collect VM IP Addresses    true
+    ${VM_IP_ELAN2}    ${DHCP_IP_ELAN2}    Wait Until Keyword Succeeds    120s    10s    Collect VM IP Addresses    true
     ...    @{VM_INSTANCES_ELAN2}
     Log    ${VM_IP_ELAN2}
     Set Suite Variable    ${VM_IP_ELAN2}
-    ${VM_IP_ELAN3}    ${DHCP_IP_ELAN3}    Wait Until Keyword Succeeds    30s    10s    Collect VM IP Addresses    true
+    ${VM_IP_ELAN3}    ${DHCP_IP_ELAN3}    Wait Until Keyword Succeeds    120s    10s    Collect VM IP Addresses    true
     ...    @{VM_INSTANCES_ELAN3}
     Log    ${VM_IP_ELAN3}
     Set Suite Variable    ${VM_IP_ELAN3}