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

Fix test_sysuptime failure #16528

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

opcoder0
Copy link
Contributor

@opcoder0 opcoder0 commented Jan 15, 2025

Fix test_sysuptime fails with error

image

Summary:
Fixes # NA

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405
  • 202411

Approach

What is the motivation for this PR?

Fix broken test

How did you do it?

Fix format parsing before type conversion

How did you verify/test it?

Tested on 7050cx3

Any platform specific information?

None

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

NA

Documentation

* The change strips comma (if present) from py_gnmicli proc/uptime output before
  converting to float
@mssonicbld
Copy link
Collaborator

/azp run

@opcoder0 opcoder0 requested a review from wsycqyz January 15, 2025 11:50
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@wangxin wangxin merged commit e7cfb3e into sonic-net:master Jan 16, 2025
21 checks passed
opcoder0 added a commit to opcoder0/sonic-mgmt that referenced this pull request Jan 17, 2025
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.

4 participants