diff options
author | Ryan Rossiter <rlrossit@us.ibm.com> | 2015-06-25 14:41:49 +0000 |
---|---|---|
committer | Ryan Rossiter <rlrossit@us.ibm.com> | 2015-08-13 20:44:41 +0000 |
commit | 6179854ae77960d4ae883349626069023b407cb0 (patch) | |
tree | fc4677ed5bf139574a0c0573fff46b569404f6a8 /HACKING.rst | |
parent | a013f9d71b68843d7f863aff81dd1f66ec0f04da (diff) | |
download | nova-6179854ae77960d4ae883349626069023b407cb0.tar.gz |
Add hacking check for eventlet.spawn()
Change Id52c30bb5ded2184d772e6026b0f04f9a0efeb55 added a hacking check
for greenthread.spawn(). Since eventlet.spawn() calls
greenthread.spawn() under the covers, it should also be checked. Because
there are still occurrences of eventlet.spawn(), these were also cleaned
up in order to pass the added hacking check.
Co-Authored-By: Qin Zhao <chaochin@gmail.com>
Change-Id: Ia125b4ad5e84bf48091af5a7a483b89629f0ec31
Related-Bug: #1404268
Closes-Bug: #1468513
Diffstat (limited to 'HACKING.rst')
-rw-r--r-- | HACKING.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/HACKING.rst b/HACKING.rst index 8683b2ed92..6f41579637 100644 --- a/HACKING.rst +++ b/HACKING.rst @@ -50,7 +50,7 @@ Nova Specific Commandments assertEqual(A in B, False) or assertEqual(False, A in B) to the more specific assertIn/NotIn(A, B) - [N339] Check common raise_feature_not_supported() is used for v2.1 HTTPNotImplemented response. -- [N340] Check nova.utils.spawn() is used instead of greenthread.spawn() +- [N340] Check nova.utils.spawn() is used instead of greenthread.spawn() and eventlet.spawn() Creating Unit Tests ------------------- |