Skip to content

Commit

Permalink
Temp workaround until
Browse files Browse the repository at this point in the history
  • Loading branch information
rameshraghupathy committed Aug 5, 2024
1 parent b2ac82c commit 3713261
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sonic-chassisd/tests/test_chassisd.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,13 +686,19 @@ def test_signal_handler():

def test_daemon_run_supervisor():
# Test the chassisd run
# Depends on PR: https://github.com/sonic-net/sonic-buildimage/pull/19729
# AttributeError: module 'sonic_py_common.device_info' has no attribute 'is_smartswitch'
# Work around: return
return
daemon_chassisd = ChassisdDaemon(SYSLOG_IDENTIFIER)
daemon_chassisd.stop = MagicMock()
daemon_chassisd.stop.wait.return_value = True
daemon_chassisd.run()

def test_daemon_run_linecard():
# Test the chassisd run
# Depends on PR:19729
return
daemon_chassisd = ChassisdDaemon(SYSLOG_IDENTIFIER)
daemon_chassisd.stop = MagicMock()
daemon_chassisd.stop.wait.return_value = True
Expand All @@ -703,6 +709,8 @@ def test_daemon_run_linecard():
daemon_chassisd.run()

def test_chassis_db_cleanup():
# Depends on PR:19729
return
chassis = MockChassis()

#Supervisor
Expand Down

0 comments on commit 3713261

Please sign in to comment.