Stop using eventlet threads in test_engine_service
Currently we rely on actually running the tasks on in the
stack ThreadGroup, which will be non-deterministic where
wait() is not used (leading to some incorrect assertions)
and unneccesarily complex even when using wait().
So instead use a dummy implementation which allows for tasks
to be either run immediately or just recorded so we can
assert they would be started.
Reviewed: https:/ /review. openstack. org/205163 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=dc613540ddd 406fb50f2620489 8ba561378ecfbd
Committed: https:/
Submitter: Jenkins
Branch: master
commit dc613540ddd406f b50f26204898ba5 61378ecfbd
Author: Steven Hardy <email address hidden>
Date: Thu Jul 23 11:34:06 2015 +0100
Stop using eventlet threads in test_engine_service
Currently we rely on actually running the tasks on in the
stack ThreadGroup, which will be non-deterministic where
wait() is not used (leading to some incorrect assertions)
and unneccesarily complex even when using wait().
So instead use a dummy implementation which allows for tasks
to be either run immediately or just recorded so we can
assert they would be started.
Change-Id: I2a748cac50e380 289c33eadfa1c53 309f86ad145
Partial-Bug: #1477484