From: Victor Pickard Date: Thu, 15 Feb 2018 22:42:22 +0000 (-0500) Subject: Add retries for HWVTEP emulator setup X-Git-Tag: pre-potassium~928 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=2a2ea82aecb3113751eac008e076a5643b67a649;p=integration%2Ftest.git Add retries for HWVTEP emulator setup In queens, I can see that the HVWTEP emulator shows connected for 0 secs, so let's add some retries/timeout to give it time to show up in the config. Change-Id: Iefa48cf361b259639dee062d70ad216f19a3264a Signed-off-by: Victor Pickard --- diff --git a/csit/libraries/L2GatewayOperations.robot b/csit/libraries/L2GatewayOperations.robot index 01ab61b229..fa17b84834 100644 --- a/csit/libraries/L2GatewayOperations.robot +++ b/csit/libraries/L2GatewayOperations.robot @@ -59,7 +59,7 @@ Add Vtep Manager And Verify ${output}= Exec Command ${conn_id} ${NETSTAT} Should Contain ${output} ${OVSDBPORT} @{list_to_check}= Create List ${odl_ip} - Utils.Check For Elements At URI ${HWVTEP_NETWORK_TOPOLOGY} ${list_to_check} session + Wait Until Keyword Succeeds 30s 2s Utils.Check For Elements At URI ${HWVTEP_NETWORK_TOPOLOGY} ${list_to_check} session Create Verify L2Gateway [Arguments] ${bridge_name} ${intf_name} ${gw_name}