Petr Horáček has uploaded a new change for review. Change subject: tcTests: bridge deleted before downed ......................................................................
tcTests: bridge deleted before downed Change-Id: I485932d45cce01eef7be2cceb19f66d9aa3a03b5 Signed-off-by: Petr Horáček <[email protected]> --- M tests/tcTests.py 1 file changed, 5 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/30/36130/1 diff --git a/tests/tcTests.py b/tests/tcTests.py index f3625bd..d6141f3 100644 --- a/tests/tcTests.py +++ b/tests/tcTests.py @@ -72,6 +72,11 @@ def delDevice(self): self._ifDown() + # FIXME: Sometimes _ifDown() is returned before the device is DOWN, + # in this case we are not able to delete UP device and delbr + # function ends with an error. We could prevent this in the future, + # when netlink-based event monitor will be available. + time.sleep(0.5) check_call([EXT_BRCTL, 'delbr', self.devName]) def addIf(self, dev): -- To view, visit http://gerrit.ovirt.org/36130 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I485932d45cce01eef7be2cceb19f66d9aa3a03b5 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Petr Horáček <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
