Skip to content

Commit

Permalink
Fix for test_db_alarms
Browse files Browse the repository at this point in the history
    Expect node-status type alarm instead of process-status when nodemngr is down

Change-Id: Id255b0f69067c9e6fe2d186e9b294dee9f8a0897
  • Loading branch information
Ankitja committed Jul 25, 2016
1 parent fe5fdf9 commit 9d0aa07
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tcutils/collector/analytics_tests.py 100644 → 100755
Expand Up @@ -2351,7 +2351,14 @@ def _verify_alarms_stop_svc(self, service, service_ip, role, alarm_type, multi_i
role_alarms = None
all_alarms = None

supervisors =['supervisor-analytics', 'supervisor-control', 'supervisor-config', 'supervisor-database', 'supervisor-vrouter']
supervisors = [
'supervisor-analytics',
'supervisor-control',
'supervisor-config',
'supervisor-database',
'supervisor-vrouter',
'contrail-database-nodemgr']

if service in supervisors:
alarm_type = ['node-status']

Expand Down

0 comments on commit 9d0aa07

Please sign in to comment.