Skip to content

[action] [PR:11165] [Mellanox] Ignore checking ASIC/module temperature if thermal updater is there #11858

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

mssonicbld
Copy link
Collaborator

Why I did it

thermal updater is a thread which will update ASIC/module thermal sysfs nodes periodically. Currently, there is no way to stop thermal updater. So, there is no easy way to mock thermal sysfs value if thermal updater is there (thermal updater will always override mocked values).

Work item tracking
  • Microsoft ADO (number only):

How I did it

Ignore ASIC/module thermal mock test if thermal updater is present

How to verify it

Manual test
sonic-mgmt regression test

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305
  • 202311

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

… is there (sonic-net#11165)

- Why I did it
thermal updater is a thread which will update ASIC/module thermal sysfs nodes periodically. Currently, there is no way to stop thermal updater. So, there is no easy way to mock thermal sysfs value if thermal updater is there (thermal updater will always override mocked values).

- How I did it
Ignore ASIC/module thermal mock test if thermal updater is present

- How to verify it
Manual test
sonic-mgmt regression test
@mssonicbld
Copy link
Collaborator Author

Original PR: #11165

@mssonicbld mssonicbld merged commit 57a0eaf into sonic-net:202311 Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants