commit b717696b5cff69e3586e06c399be7d06c057e503
Author: Dan Smith <email address hidden>
Date: Mon Aug 4 10:15:37 2014 -0700
Make spawn_n() stub properly ignore errors in the child thread work
When we call spawn_n() normally, we fork off a thread that can run or
die on its own, without affecting the parent. In unit tests, we stub
this out to be a synchronous call, but we allow any exceptions that
occur in that work to bubble up to the caller. This is not normal
behavior and thus we should discard any such exceptions in order to
mimic actual behavior of a child thread.
Reviewed: https:/ /review. openstack. org/111778 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=b717696b5cf f69e3586e06c399 be7d06c057e503
Committed: https:/
Submitter: Jenkins
Branch: master
commit b717696b5cff69e 3586e06c399be7d 06c057e503
Author: Dan Smith <email address hidden>
Date: Mon Aug 4 10:15:37 2014 -0700
Make spawn_n() stub properly ignore errors in the child thread work
When we call spawn_n() normally, we fork off a thread that can run or
die on its own, without affecting the parent. In unit tests, we stub
this out to be a synchronous call, but we allow any exceptions that
occur in that work to bubble up to the caller. This is not normal
behavior and thus we should discard any such exceptions in order to
mimic actual behavior of a child thread.
Change-Id: I35ab21e9525aa7 6cced797436daa0 b99a4fa99f2
Related-bug: #1349147