Skip to content

Commit

Permalink
Merge branch 'master' into volume_alert_count_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
GowthamShanmugam authored Apr 3, 2018
2 parents 0abd06e + deb9c4c commit ff21148
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
4 changes: 0 additions & 4 deletions tendrl/gluster_integration/manager/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
from tendrl.commons.utils import etcd_utils
from tendrl.commons.utils import log_utils as logger
from tendrl import gluster_integration
from tendrl.gluster_integration.gdeploy_wrapper.manager import \
ProvisioningManager
from tendrl.gluster_integration.message.gluster_native_message_handler\
import GlusterNativeMessageHandler
from tendrl.gluster_integration import sds_sync
Expand Down Expand Up @@ -63,8 +61,6 @@ def main():
NS.gluster.definitions.save()
NS.gluster.config.save()

pm = ProvisioningManager("GdeployPlugin")
NS.gdeploy_plugin = pm.get_plugin()
if NS.config.data.get("with_internal_profiling", False):
from tendrl.commons import profiler
profiler.start()
Expand Down
11 changes: 0 additions & 11 deletions tendrl/gluster_integration/tests/test_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,6 @@ def test_constructor(monkeypatch):
'tendrl.gluster_integration.objects.config.Config.__init__',
mock.Mock(return_value=None)
)
@mock.patch(
'tendrl.gluster_integration.gdeploy_wrapper.manager'
'.ProvisioningManager.__init__',
mock.Mock(return_value=None)
)
@mock.patch(
'tendrl.gluster_integration.gdeploy_wrapper.manager'
'.ProvisioningManager.get_plugin',
mock.Mock(return_value=None)
)
@mock.patch(
'tendrl.gluster_integration.sds_sync'
'.GlusterIntegrationSdsSyncStateThread.__init__',
Expand Down Expand Up @@ -113,7 +103,6 @@ def test_main(monkeypatch):
assert NS.publisher_id == "gluster_integration"
assert NS.state_sync_thread is not None
assert NS.message_handler_thread is not None
assert NS.gdeploy_plugin is None

with mock.patch.object(GlusterIntegrationManager, 'start') \
as manager_start:
Expand Down

0 comments on commit ff21148

Please sign in to comment.