Avoid eventlet monkey patching for the tempest plugin
do the monkey patch for each modules instead. Closes-Bug: #1571486 Change-Id: Ia698dcf99f3950aeabffc44d85e4b33f56714afd
This commit is contained in:
parent
b3a41f4a31
commit
16ca061abc
|
@ -1,15 +0,0 @@
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
||||||
# not use this file except in compliance with the License. You may obtain
|
|
||||||
# a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
||||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
||||||
# License for the specific language governing permissions and limitations
|
|
||||||
# under the License.
|
|
||||||
|
|
||||||
from neutron.common import eventlet_utils
|
|
||||||
|
|
||||||
eventlet_utils.monkey_patch()
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
|
||||||
|
from neutron.common import eventlet_utils
|
||||||
|
|
||||||
|
|
||||||
|
eventlet_utils.monkey_patch()
|
|
@ -0,0 +1,16 @@
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
|
||||||
|
from neutron.common import eventlet_utils
|
||||||
|
|
||||||
|
|
||||||
|
eventlet_utils.monkey_patch()
|
|
@ -20,6 +20,11 @@ discovery.
|
||||||
|
|
||||||
import os.path
|
import os.path
|
||||||
|
|
||||||
|
from neutron.common import eventlet_utils
|
||||||
|
|
||||||
|
|
||||||
|
eventlet_utils.monkey_patch()
|
||||||
|
|
||||||
|
|
||||||
def load_tests(loader, tests, pattern):
|
def load_tests(loader, tests, pattern):
|
||||||
this_dir = os.path.dirname(__file__)
|
this_dir = os.path.dirname(__file__)
|
||||||
|
|
|
@ -15,5 +15,10 @@
|
||||||
|
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
|
|
||||||
|
from neutron.common import eventlet_utils
|
||||||
|
|
||||||
|
|
||||||
cfg.CONF.use_stderr = False
|
cfg.CONF.use_stderr = False
|
||||||
|
|
||||||
|
|
||||||
|
eventlet_utils.monkey_patch()
|
||||||
|
|
Loading…
Reference in New Issue