]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix leftover Timeout effecting most eventlet calls
authorJohn Schwarz <jschwarz@redhat.com>
Thu, 4 Sep 2014 08:34:29 +0000 (11:34 +0300)
committerJohn Schwarz <jschwarz@redhat.com>
Thu, 4 Sep 2014 11:03:31 +0000 (14:03 +0300)
commitfdf0fa8b43537bbd5ab6e1a2e55f694b77209a00
treeaac32f05ba5e18f78cb53d789b9bd0b2eae6d945
parent2c7d987fd46f6be4f7db0ef6410c3feaeef1edca
Fix leftover Timeout effecting most eventlet calls

When registering a new eventlet.timeout.Timeout object, eventlet
automatically starts a timer for most (if not all) future eventlet
calls. Normally, eventlet codes do not hold a timeout unless such a
timeout is used or a specific timeout length is specified through
the API, but once a Timeout object is initialized, it is left there
unless canceled.

This change fixes an un-canceled Timeout which causes some
functional tests to fail, reintroduces a fix for bug #1358206,
which was written prior to discovering the uncanceled timeout, and
increases the timeout of a test that depended on this timeout.

Closes-bug: #1358206
Related-bug: #1364171
Change-Id: I1bfc5af6917c525894eecd8b477d787763edbd02
neutron/agent/linux/ovsdb_monitor.py
neutron/tests/functional/agent/linux/test_ovsdb_monitor.py