From 6179854ae77960d4ae883349626069023b407cb0 Mon Sep 17 00:00:00 2001 From: Ryan Rossiter Date: Thu, 25 Jun 2015 14:41:49 +0000 Subject: 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 Change-Id: Ia125b4ad5e84bf48091af5a7a483b89629f0ec31 Related-Bug: #1404268 Closes-Bug: #1468513 --- HACKING.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'HACKING.rst') 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 ------------------- -- cgit v1.2.1