diff options
author | Sharada Shiddibhavi <sharada.shiddibhavi@intel.com> | 2017-10-09 08:39:04 +0000 |
---|---|---|
committer | Sharada Shiddibhavi <sharada.shiddibhavi@intel.com> | 2017-10-09 21:00:00 +0000 |
commit | f5894ba7d8dae3928694419f74023fcba36a9dbd (patch) | |
tree | 354476324cf6d5339b33117d0790b94c8ac08291 /baro_tests/config_server.py | |
parent | 47b77018cde65b57a65faa1398e96918430415fb (diff) |
Removing SNMP testcases from Barometer testsuite
The SNMP testcases has been removed from the Barometer
testsuite.
Change-Id: Ie51df5bdc20a83f8e08aa3ccc2126cf43b0fc1d9
Signed-off-by: Sharada Shiddibhavi <sharada.shiddibhavi@intel.com>
Diffstat (limited to 'baro_tests/config_server.py')
-rw-r--r-- | baro_tests/config_server.py | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/baro_tests/config_server.py b/baro_tests/config_server.py index a5c8c701..8b597cc5 100644 --- a/baro_tests/config_server.py +++ b/baro_tests/config_server.py @@ -269,8 +269,13 @@ class ConfigServer(object): stdout = node.run_cmd( "source overcloudrc.v3;" + "openstack catalog list | grep gnocchi") - if 'gnocchi' in stdout: + if stdout is None: + return False + elif 'gnocchi' in stdout: gnocchi_present = True + return gnocchi_present + else: + return False return gnocchi_present def is_aodh_running(self, controller): @@ -287,8 +292,13 @@ class ConfigServer(object): stdout = node.run_cmd( "source overcloudrc.v3;" + "openstack catalog list | grep aodh") - if 'aodh' in stdout: + if stdout is None: + return False + elif 'aodh' in stdout: aodh_present = True + return aodh_present + else: + return False return aodh_present def is_mcelog_installed(self, compute, package): |