]> 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)
committerTerry Wilson <twilson@redhat.com>
Tue, 29 Sep 2015 10:16:49 +0000 (05:16 -0500)
commit5dba2ac71c16cfd11937cf4becbaabd5b807678d
treed604a250a6455b506446e6ae8b67842c3af47d43
parenta15651cca1ceae5a6b13c9d5c7e7f1aaa6de080d
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
neutron/agent/ovsdb/native/idlutils.py