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
Conflicts:
neutron/tests/unit/nicira/test_vcns_driver.py
Change-Id: I9e9e41ce7e8969a2ea51bfce96b1303125a24308
(cherry picked from commit 433287b4f51e45fbb7a73f68dd63b433ea5d9066)
Reviewed: https:/ /review. openstack. org/75660 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=28ee2ac315c 226ce0961908790 77121702e4d644
Committed: https:/
Submitter: Jenkins
Branch: stable/havana
commit 28ee2ac315c226c e09619087907712 1702e4d644
Author: Salvatore Orlando <email address hidden>
Date: Thu Feb 20 06:30:11 2014 -0800
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
Conflicts:
Change-Id: I9e9e41ce7e8969 a2ea51bfce96b13 03125a24308 bb7a73f68dd63b4 33ea5d9066)
(cherry picked from commit 433287b4f51e45f