Skip to content

Commit

Permalink
Fix for test_db_alarms <- Cherrypick from R3.1
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 Sep 15, 2016
1 parent 8e4e7e6 commit c48c7c9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tcutils/collector/analytics_tests.py
100644 → 100755
Original file line number Diff line number Diff line change
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 c48c7c9

Please sign in to comment.