Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Yevhen Fastiuk <[email protected]>
  • Loading branch information
fastiuk committed May 16, 2024
1 parent 24cc7f4 commit 0dc3fde
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion files/build_templates/init_cfg.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
{%- if feature in ["bgp"] %}
"check_up_status" : "false",
{%- endif %}
{%- if feature in ["ib-utils", "snmp"] %}
{%- if feature in ["snmp"] %}
"irrel_for_sysready" : "true",
{%- endif %}
{%- if include_kubernetes == "y" %}
Expand Down
2 changes: 0 additions & 2 deletions src/system-health/tests/test_system_health.py
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,6 @@ def test_check_unit_status():
def test_system_status_up_after_service_removed():
sysmon = Sysmonitor()
sysmon.monitor_timeout = MagicMock()
# sysmon.publish_system_status('UP')

# By default it is in init state. And should remain in init
sysmon.check_unit_status('mock_bgp.service')
Expand Down Expand Up @@ -865,7 +864,6 @@ def test_publish_system_status_allowed_status():
for call_args in sysmon.post_system_status.call_args_list:
assert call_args in expected_calls

# @patch('health_checker.sysmonitor.Sysmonitor.post_system_status', MagicMock())
@patch('health_checker.sysmonitor.Sysmonitor.print_console_message',
MagicMock())
def test_publish_system_status():
Expand Down

0 comments on commit 0dc3fde

Please sign in to comment.