SXP: Run binding origins test on Fluorine 06/77706/4
authorIvan Hrasko <ihrasko@cisco.com>
Tue, 13 Nov 2018 08:11:45 +0000 (09:11 +0100)
committerIvan Hrasko <ihrasko@cisco.com>
Wed, 14 Nov 2018 09:38:57 +0000 (10:38 +0100)
- binding origins test can be run on Fluorine
and later streams only

Change-Id: I97a14461e16ad7daa5bf5533621793f3a1d74bc6
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
csit/suites/sxp/clustering/040_RPC_Redirecting.robot

index 9ac8048413e9ce1fdc85e96747383f77e3dfd613..6c9344f348ecbd9705fd7a99bf0a36b6c8bfc1ab 100644 (file)
@@ -3,6 +3,7 @@ Documentation     SXP holds active SXP nodes only on the cluster owner node. Act
 Suite Setup       SxpClusterLib.Setup SXP Cluster Session
 Suite Teardown    SxpClusterLib.Clean SXP Cluster Session
 Library           ../../../libraries/Common.py
+Resource          ../../../libraries/CompareStream.robot
 Resource          ../../../libraries/SxpBindingOriginsLib.robot
 Resource          ../../../libraries/SxpClusterLib.robot
 Resource          ../../../libraries/SxpLib.robot
@@ -81,6 +82,7 @@ Test Add/Delete Filter
 Test Add/Update/Delete Binding Origin
     [Documentation]    Binding origin operations need to be executed on cluster owner because they rely on static map which is present solely on cluster owner. To test that binding origin RPCs are redirected to cluster owner first add binding origin to the first node then update it on the second node (requires up-to date binding origin map) and update it on the third node (requires up-to date binding origin map).
     [Tags]    SXP Clustering Redirecting
+    CompareStream.Run_Keyword_If_Less_Than    fluorine    BuiltIn.Pass Execution    Binding origins are not supported before Fluorine
     SxpBindingOriginsLib.Add Binding Origin    CLUSTER    0    session=ClusterManagement__session_1
     SxpBindingOriginsLib.Update Binding Origin    CLUSTER    3    session=ClusterManagement__session_2
     SxpBindingOriginsLib.Delete Binding Origin    CLUSTER    session=ClusterManagement__session_3