Dan Kenigsberg has submitted this change and it was merged.

Change subject: ipwrapperTests: prevent infinite stuck of iterator
......................................................................


ipwrapperTests: prevent infinite stuck of iterator

Sometimes, ipwrapper monitor.start() is not fast enough and it's
returned before it's proper started and listening. In this case, monitor
doesn't catch the first created device and iterator.next() stuck
forever.

I included quick sleep() fix, to prevent this problem until we get new
netlink-based event monitor.

Change-Id: Iec49f21c76a1cd9d02e3fb1f36a4d4e4de7f057e
Signed-off-by: Petr Horáček <phora...@redhat.com>
Reviewed-on: http://gerrit.ovirt.org/36121
Reviewed-by: Dan Kenigsberg <dan...@redhat.com>
Tested-by: Dan Kenigsberg <dan...@redhat.com>
---
M tests/ipwrapperTests.py
1 file changed, 7 insertions(+), 0 deletions(-)

Approvals:
  Dan Kenigsberg: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/36121
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iec49f21c76a1cd9d02e3fb1f36a4d4e4de7f057e
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Petr Horáček <phora...@redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <dan...@redhat.com>
Gerrit-Reviewer: David Caro <dcaro...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to