Change in vdsm[master]: networkTests: fix slow tests broken by fb3a4bd4

osvoboda at redhat.com osvoboda at redhat.com
Tue Aug 4 10:15:21 UTC 2015


Ondřej Svoboda has uploaded a new change for review.

Change subject: networkTests: fix slow tests broken by fb3a4bd4
......................................................................

networkTests: fix slow tests broken by fb3a4bd4

Change-Id: Ifc7efbfec1afcce44653c1b1eff9e840b9afbf24
Signed-off-by: Ondřej Svoboda <osvoboda at redhat.com>
---
M tests/functional/networkTests.py
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/39/44339/1

diff --git a/tests/functional/networkTests.py b/tests/functional/networkTests.py
index 4b4dbf8..7526ded 100644
--- a/tests/functional/networkTests.py
+++ b/tests/functional/networkTests.py
@@ -2366,7 +2366,7 @@
     @cleanupNet
     def testSetupNetworksEmergencyDevicesCleanupVlanOverwrite(self, bridged):
         with dummyIf(2) as nics:
-            nic, = nics
+            nic = nics[0]
             network = {NETWORK_NAME: {'vlan': VLAN_ID, 'bridged': bridged,
                                       'nic': nic}}
             status, msg = self.setupNetworks(network, {}, NOCHK)
@@ -2391,7 +2391,6 @@
     @cleanupNet
     def testSetupNetworksEmergencyDevicesCleanupBondOverwrite(self, bridged):
         with dummyIf(2) as nics:
-            nic, = nics
             network = {NETWORK_NAME: {'bridged': bridged,
                                       'bonding': BONDING_NAME}}
             bonding = {BONDING_NAME: {'nics': nics}}


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifc7efbfec1afcce44653c1b1eff9e840b9afbf24
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ondřej Svoboda <osvoboda at redhat.com>


More information about the vdsm-patches mailing list