From 6fa90e73ddeb2a5df1e6ab01837a249274928ff6 Mon Sep 17 00:00:00 2001 From: Ramesh Nachimuthu Date: Tue, 29 Apr 2014 14:19:25 +0530 Subject: autoconf: Use only brick path in brick service Change the brick service description to "Brick Status - ". Currently it is "Brick Status - :". Same case for Brick utilization service also. Change-Id: I3924f15e3b8b86826c0019c5ab52bd371a970cf1 Signed-off-by: Ramesh Nachimuthu Reviewed-on: http://review.gluster.org/7597 Reviewed-by: Sahina Bose --- tests/test_config_generator.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/test_config_generator.py b/tests/test_config_generator.py index 8c79057..d8e8789 100644 --- a/tests/test_config_generator.py +++ b/tests/test_config_generator.py @@ -45,14 +45,12 @@ class TestGlusterNagiosConfManager(TestCaseBase): def _verifyHostServices(self, hostConfig, hostData): for brick in hostData['bricks']: - serviceDesc = "Brick Status - %s:%s" % (hostData['hostname'], - brick['brickpath']) + serviceDesc = "Brick Status - %s" % brick['brickpath'] service = self._findServiceInList(hostConfig['host_services'], serviceDesc) self.assertNotEqual(service, None, "Brick status service is not created") - serviceDesc = "Brick Utilization - %s:%s" % (hostData['hostname'], - brick['brickpath']) + serviceDesc = "Brick Utilization - %s" % brick['brickpath'] service = self._findServiceInList(hostConfig['host_services'], serviceDesc) self.assertNotEqual(service, None, -- cgit