Change in vdsm[ovirt-3.6]: net tests: Clean net & bond after functional test.

edwardh at redhat.com edwardh at redhat.com
Sun Feb 21 12:27:00 UTC 2016


Edward Haas has uploaded a new change for review.

Change subject: net tests: Clean net & bond after functional test.
......................................................................

net tests: Clean net & bond after functional test.

testSetupNetworksEmergencyDevicesCleanupBondOverwrite now removes
the network & bond. Keeping them around causes the failure of
the subsequent test.

Change-Id: I4e835275596929c7136cb788f087a6afcce2c6fe
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1310410
Signed-off-by: Edward Haas <edwardh at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/53769
Continuous-Integration: Jenkins CI
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
(cherry picked from commit f52f43f56cc407c22db278bceb08f462be42b061)
---
M tests/functional/networkTests.py
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/70/53770/1

diff --git a/tests/functional/networkTests.py b/tests/functional/networkTests.py
index 15eb6dc..4cbed8a 100644
--- a/tests/functional/networkTests.py
+++ b/tests/functional/networkTests.py
@@ -2484,6 +2484,11 @@
             self.assertVlanDoesntExist(NETWORK_NAME + '.' + VLAN_ID)
             self.assertBondExists(BONDING_NAME, nics)
 
+            status, msg = self.setupNetworks({NETWORK_NAME: {'remove': True}},
+                                             {BONDING_NAME: {'remove': True}},
+                                             NOCHK)
+            self.assertEqual(status, SUCCESS, msg)
+
     @cleanupNet
     def testSetupNetworksOverDhcpIface(self):
         """When asked to setupNetwork on top of an interface with a running


-- 
To view, visit https://gerrit.ovirt.org/53770
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4e835275596929c7136cb788f087a6afcce2c6fe
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.6
Gerrit-Owner: Edward Haas <edwardh at redhat.com>


More information about the vdsm-patches mailing list