From 7ba977a0591268f79c0a5b1b8648f15042f45b8f Mon Sep 17 00:00:00 2001 From: Ivan Hrasko Date: Mon, 10 Dec 2018 12:17:44 +0100 Subject: [PATCH] SXP: Wait for bindings to be send/received Change-Id: Ide429e7a77fe89840a8b740b4640d61e428e58c0 Signed-off-by: Ivan Hrasko --- .../sxp/cluster-routing/020_Sxp_Node_Switching.robot | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/csit/suites/sxp/cluster-routing/020_Sxp_Node_Switching.robot b/csit/suites/sxp/cluster-routing/020_Sxp_Node_Switching.robot index bf0946b87d..17df5f280b 100644 --- a/csit/suites/sxp/cluster-routing/020_Sxp_Node_Switching.robot +++ b/csit/suites/sxp/cluster-routing/020_Sxp_Node_Switching.robot @@ -42,11 +42,11 @@ Isolation Of SXP Service Follower Listener Test BuiltIn.Wait Until Keyword Succeeds 240 1 SxpClusterLib.Ip Addres Should Be Routed To Follower ${MAC_ADDRESS_TABLE} ${VIRTUAL_IP} ${cluster_owner} Check Connections ${cluster_owner} listener Add Bindings To Node ${CLUSTER_NODE_ID} ClusterManagement__session_${cluster_owner} - Check Bindings ${DEVICE_NODE_ID} ${DEVICE_SESSION} + BuiltIn.Wait Until Keyword Succeeds 240 1 Check Bindings ${DEVICE_NODE_ID} ${DEVICE_SESSION} Isolate SXP Controller ${cluster_owner} BuiltIn.Wait Until Keyword Succeeds 240 1 SxpClusterLib.Ip Addres Should Be Routed To Follower ${MAC_ADDRESS_TABLE} ${VIRTUAL_IP} ${NEW_OWNER} Check Connections ${NEW_OWNER} listener - Check Bindings ${DEVICE_NODE_ID} ${DEVICE_SESSION} + BuiltIn.Wait Until Keyword Succeeds 240 1 Check Bindings ${DEVICE_NODE_ID} ${DEVICE_SESSION} [Teardown] Clean Custom SXP Cluster Isolation Of SXP Service Follower Speaker Test @@ -56,11 +56,11 @@ Isolation Of SXP Service Follower Speaker Test BuiltIn.Wait Until Keyword Succeeds 240 1 SxpClusterLib.Ip Addres Should Be Routed To Follower ${MAC_ADDRESS_TABLE} ${VIRTUAL_IP} ${cluster_owner} Check Connections ${cluster_owner} speaker Add Bindings To Node ${DEVICE_NODE_ID} ${DEVICE_SESSION} - Check Bindings ${CLUSTER_NODE_ID} ClusterManagement__session_${cluster_owner} + BuiltIn.Wait Until Keyword Succeeds 240 1 Check Bindings ${CLUSTER_NODE_ID} ClusterManagement__session_${cluster_owner} Isolate SXP Controller ${cluster_owner} BuiltIn.Wait Until Keyword Succeeds 240 1 SxpClusterLib.Ip Addres Should Be Routed To Follower ${MAC_ADDRESS_TABLE} ${VIRTUAL_IP} ${NEW_OWNER} Check Connections ${NEW_OWNER} speaker - Check Bindings ${CLUSTER_NODE_ID} ClusterManagement__session_${NEW_OWNER} + BuiltIn.Wait Until Keyword Succeeds 240 1 Check Bindings ${CLUSTER_NODE_ID} ClusterManagement__session_${NEW_OWNER} [Teardown] Clean Custom SXP Cluster *** Keywords *** -- 2.36.6