]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
vshield task manager: abort tasks in stop() on termination
authorSalvatore Orlando <salv.orlando@gmail.com>
Thu, 20 Feb 2014 14:30:11 +0000 (06:30 -0800)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:26 +0000 (15:20 +0800)
commit1828ce3c7eeb76b257bffbf7047ea2dd42c41817
tree9b5b5a607851a8b77f762cdb144bea3e63ebbb65
parent388af5349c09249951af9737185f6e596158bc71
vshield task manager: abort tasks in stop() on termination

This patch kills the manager thread, and aborts active tasks
rather than sending an exception to the manager thread and
have it do the abort on termination.

Unit tests involving vshield task manager might take longer
as a side effect of this patch.

Related-bug: #1282452

Change-Id: I9e9e41ce7e8969a2ea51bfce96b1303125a24308
neutron/plugins/nicira/vshield/tasks/tasks.py
neutron/tests/unit/nicira/test_edge_router.py
neutron/tests/unit/nicira/test_vcns_driver.py