adding steps to delete bridges in suite cleanup. 67/34367/2
authorJamo Luhrsen <jluhrsen@redhat.com>
Wed, 10 Feb 2016 06:21:31 +0000 (22:21 -0800)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 10 Feb 2016 11:21:21 +0000 (11:21 +0000)
-  suite was deleting root ovsdb nodes as part of cleanup
   but the bridges created during the test were left over
   and causing a false failure in the following suite

Change-Id: I1ad9ce5f63706f22cab685379e6ae06de50986f8
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
csit/suites/ovsdb/Southbound_Domain/040__Vxlan_Extension_Test.robot

index 48e23a850a8c7b000fac9f8e22d891d1b77695a6..22b539015cb74aed87fa1c6d88a891f67b17f2a9 100644 (file)
@@ -109,10 +109,12 @@ Vxlan Extension Test Suite Setup
 
 Vxlan Extension Test Suite Teardown
     [Documentation]    Cleans up test environment, close existing sessions.
+    Delete Bridge From Ovsdb Node    ${TOOLS_SYSTEM_IP}    s2
+    Delete Bridge From Ovsdb Node    ${TOOLS_SYSTEM_2_IP}    s1
+    Disconnect From Ovsdb Node    ${TOOLS_SYSTEM_IP}
+    Disconnect From Ovsdb Node    ${TOOLS_SYSTEM_2_IP}
     Clean OVSDB Test Environment    ${TOOLS_SYSTEM_IP}
     Clean OVSDB Test Environment    ${TOOLS_SYSTEM_2_IP}
-    RequestsLibrary.Delete Request    session    ${CONFIG_TOPO_API}/topology/ovsdb:1/node/ovsdb:%2F%2F${TOOLS_SYSTEM_IP}:${OVSDB_PORT}
-    RequestsLibrary.Delete Request    session    ${CONFIG_TOPO_API}/topology/ovsdb:1/node/ovsdb:%2F%2F${TOOLS_SYSTEM_2_IP}:${OVSDB_PORT}
     ${resp}    RequestsLibrary.Get Request    session    ${CONFIG_TOPO_API}
     Log    ${resp.content}
     Delete All Sessions