Change in vdsm[master]: net: tests: wait for a specific state of a device

ibarkan at redhat.com ibarkan at redhat.com
Wed Jun 24 07:11:42 UTC 2015


Ido Barkan has posted comments on this change.

Change subject: net: tests: wait for a specific state of a device
......................................................................


Patch Set 4:

(1 comment)

https://gerrit.ovirt.org/#/c/42675/4/tests/functional/networkTests.py
File tests/functional/networkTests.py:

Line 141:                     break
Line 142: 
Line 143: 
Line 144: def _waitForOperstate(device, state, timeout=1):
Line 145:     """ :param state: pleas use OPERSTATE_* from lib/vdsm/netinfo
> *please
Done
Line 146:     """
Line 147:     with monitor.Monitor(groups=('link',), timeout=timeout) as mon:
Line 148:         if state != operstate(device):
Line 149:             for event in mon:


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Icbcfe6423894b2b8806c355dd093ddfd66eb75f0
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ido Barkan <ibarkan at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Ido Barkan <ibarkan at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Petr Horáček <phoracek at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list