Apply monkeypatching from eventlet before the tests starts
This should prevent issues with classes which may not have been otherwise instrumented (and sahara_engine and sahara_all do the instrumentation at the beginning anyway). Issues have been notices with eventlet 0.20.1 which now instruments subprocess. Change-Id: I17adb877483dbf0b0aa559029c61715d1cef9d7b
This commit is contained in:
parent
2318e30e48
commit
aadf5834d2
@ -13,6 +13,9 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
from sahara.utils import patches
|
||||||
|
patches.patch_all()
|
||||||
|
|
||||||
import oslo_i18n
|
import oslo_i18n
|
||||||
|
|
||||||
# NOTE(slukjanov): i18n.enable_lazy() must be called before
|
# NOTE(slukjanov): i18n.enable_lazy() must be called before
|
||||||
|
Loading…
Reference in New Issue
Block a user