Skip macspoofing tempest test if security group mode is 'transparent' 05/52905/3
authorJamo Luhrsen <jluhrsen@redhat.com>
Mon, 6 Mar 2017 18:56:37 +0000 (10:56 -0800)
committerLuis Gomez <ecelgp@gmail.com>
Tue, 7 Mar 2017 18:15:17 +0000 (18:15 +0000)
Change-Id: I0b411dde0d3482f17bfc5e6a8b4492d42729b175
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
csit/libraries/DevstackUtils.robot
csit/suites/openstack/tempest/tempest.robot

index 31ad032a1b630e0ebc4d3e6400fbcc934b683184..2913e6f302dba5a39abf86634a78f3bdb9b75a63 100644 (file)
@@ -20,6 +20,7 @@ Run Tempest Tests
     [Arguments]    ${tempest_regex}    ${tempest_exclusion_regex}=""    ${tempest_conf}=""    ${tempest_directory}=/opt/stack/tempest    ${timeout}=600s
     [Documentation]    Execute the tempest tests.
     Return From Keyword If    "skip_if_${OPENSTACK_BRANCH}" in @{TEST_TAGS}
+    Return From Keyword If    "skip_if_${SECURITY_GROUP_MODE}" in @{TEST_TAGS}
     ${devstack_conn_id}=    Get ControlNode Connection
     Switch Connection    ${devstack_conn_id}
     Write Commands Until Prompt    source ${DEVSTACK_DEPLOY_PATH}/openrc admin admin
index 3ea7f00e53b3dca3e59f0fab744e4a34ca53531c..1f246d34a17027a5e3446df51f165cabc105d326 100644 (file)
@@ -69,6 +69,10 @@ tempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps.t
 tempest.scenario.test_server_basic_ops.TestServerBasicOps.test_server_basic_ops
     ${TEST_NAME}    ${exclusion_regex}    ${tempest_config_file}
 
+tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_port_security_macspoofing_port
+    [Tags]    skip_if_transparent
+    ${TEST_NAME}    ${exclusion_regex}    ${tempest_config_file}
+
 *** Keywords ***
 Log In To Tempest Executor And Setup Test Environment
     [Documentation]    Initialize SetupUtils, open SSH connection to a devstack system and source the openstack