Skip to content

[test_get_transceiver_info] Fix key error for test_get_transceiver_info #5164

Merged
liat-grozovik merged 1 commit intosonic-net:masterfrom
JibinBao:fix_test_get_transceiver_info
Feb 20, 2022
Merged

[test_get_transceiver_info] Fix key error for test_get_transceiver_info #5164
liat-grozovik merged 1 commit intosonic-net:masterfrom
JibinBao:fix_test_get_transceiver_info

Conversation

@JibinBao
Copy link
Contributor

Description of PR

In test_get_transceiver_info, for branch 20111, we should use key of hardware_rev instead of vendor_rev.
According to these PRs(sonic-net/sonic-platform-daemons#231, sonic-net/sonic-utilities#1950), now branch 202111 only support the key of hardware_rev.

Summary:
Fixes # (issue)

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?

Fix key error issue for test_get_transceiver_info

How did you do it?

When branch is 20111, use key of hardware_rev instead of vendor_rev.

How did you verify/test it?

Run test_get_transceiver_info

Any platform specific information?

Any

Supported testbed topology if it's a new test case?

Documentation

@JibinBao JibinBao requested a review from sujinmkang as a code owner February 17, 2022 06:33
@liat-grozovik liat-grozovik merged commit 9b9d4ad into sonic-net:master Feb 20, 2022
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.

2 participants