Skip to content
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

[Mellanox] Modify AbnormalFanMocker check_result return value #4190

Conversation

nhe-NV
Copy link
Contributor

@nhe-NV nhe-NV commented Sep 7, 2021

Description of PR

Summary: Modify AbnormalFanMocker check_result return value
Fixes # (issue) Modify AbnormalFanMocker check_result return value to make test case "test_thermal_control_fan_status" pass

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911

Approach

What is the motivation for this PR?

The test case "test_thermal_control_fan_status" will failed after the PR #3684 is merged

How did you do it?

Change the return value of the check_result in AbnormalFanMocker, before the #3684 is merged, it dose not care about the return value of the check_result in AbnormalFanMocker, after the PR is merged, it will check the return value of the check_result

How did you verify/test it?

Run test cases in test_platform_info.py and all the test cases pass

Any platform specific information?

No, it happens on any kind of platform

@nhe-NV nhe-NV requested review from sujinmkang and a team as code owners September 7, 2021 09:41
@nhe-NV nhe-NV changed the title Modify abnormal fan mocker check result return value [Mellanox] Modify abnormal fan mocker check result return value Sep 7, 2021
@nhe-NV nhe-NV changed the title [Mellanox] Modify abnormal fan mocker check result return value [Mellanox] Modify AbnormalFanMocker check_result return value Sep 7, 2021
@nhe-NV nhe-NV closed this Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant