]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Check idl.run() return value before blocking
authorTerry Wilson <twilson@redhat.com>
Mon, 28 Sep 2015 22:42:25 +0000 (17:42 -0500)
committerRussell Bryant <rbryant@redhat.com>
Wed, 30 Sep 2015 13:52:51 +0000 (13:52 +0000)
commit2ed841f58d931bc9a2d29172d26c03d7cb6862e6
tree6229b2e8703c1b1a51026299111b87fa232b3209
parentfa2b18c45ae0e7aefa0a0b454c5b7b4e9a05f63a
Check idl.run() return value before blocking

The IDL change_seqno can change as a result of running idl.run(), and
it returns True if there has been a change. The existing code would
block without checking the return value, and therefor could block
until another change occurred, or the timeout was reached.

Closes-Bug: #1501090
Change-Id: I9b7aac2755e6e6b69165023e01583337f9d30f15
(cherry picked from commit 5dba2ac71c16cfd11937cf4becbaabd5b807678d)
neutron/agent/ovsdb/native/idlutils.py