Skip to content

[Mellanox] Fixes test_sfp_presence deprecated SFP sysfs#1703

Merged
wangxin merged 1 commit intosonic-net:masterfrom
shlomibitton:shlomi_sfp_presence_fix
Jun 11, 2020
Merged

[Mellanox] Fixes test_sfp_presence deprecated SFP sysfs#1703
wangxin merged 1 commit intosonic-net:masterfrom
shlomibitton:shlomi_sfp_presence_fix

Conversation

@shlomibitton
Copy link
Contributor

Change-Id: Idfd75f2d4c47b9a67b0f4bc96b3c08b6fbd6fc4c
Signed-off-by: Shlomi Bitton shlomibi@mellanox.com

Description of PR

Summary:
Fixes 'test_sfp_presence' deprecated SFP sysfs.

Type of change

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

Approach

How did you do it?

Edit the test to suite current sysfs structure.

How did you verify/test it?

Run the test.

Any platform specific information?

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

Documentation

@liat-grozovik liat-grozovik requested a review from wangxin May 26, 2020 14:03
@lgtm-com
Copy link

lgtm-com bot commented Jun 11, 2020

This pull request introduces 1 alert when merging 839dd72e64e4329cd083d69886f170659321ddfa into ff8cd16 - view on LGTM.com

new alerts:

  • 1 for Unused local variable

Change-Id: Idfd75f2d4c47b9a67b0f4bc96b3c08b6fbd6fc4c
Signed-off-by: Shlomi Bitton <shlomibi@mellanox.com>
@lgtm-com
Copy link

lgtm-com bot commented Jun 11, 2020

This pull request introduces 1 alert and fixes 1 when merging 77d4500 into ff8cd16 - view on LGTM.com

new alerts:

  • 1 for Unused local variable

fixed alerts:

  • 1 for Result of integer division may be truncated

@wangxin wangxin merged commit bed0a7a into sonic-net:master Jun 11, 2020
@shlomibitton shlomibitton deleted the shlomi_sfp_presence_fix branch March 25, 2021 08:11
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
Changes:
ac4596a [intfmgrd] reach reconciled state at start when there are no interfaces configuration to process (sonic-net#1703)

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
97d971372fac773b98d46bb8f800df7b845e518e (HEAD -> 201911, origin/201911) [sfpshow] Gracefully handle improper 'specification_compliance' field (sonic-net#1594) (sonic-net#1729)
2099c73cea81ff4524e680b6f9335c0b0f13b94e [CLI] Implement null_route_helper script (sonic-net#1740)
b56659175986fe0e5b82c6bd6b3dde163164777b [minigraph][port_config] Consume port_config.json while reloading minigraph (sonic-net#1725)
e840c42da2a40db2bf993672271f6b75c51c426f Change the method name to align with master, reduce diverge issue (sonic-net#1703)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
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.

5 participants