Skip to content

[Snappi] increase tolerance for rounding in m2o tests#16832

Merged
yejianquan merged 1 commit intosonic-net:masterfrom
auspham:austinpham/3192364-increase-tolerance-for-rounding-m2o-case
Feb 7, 2025
Merged

[Snappi] increase tolerance for rounding in m2o tests#16832
yejianquan merged 1 commit intosonic-net:masterfrom
auspham:austinpham/3192364-increase-tolerance-for-rounding-m2o-case

Conversation

@auspham
Copy link
Copy Markdown
Contributor

@auspham auspham commented Feb 6, 2025

Description of PR

Summary:
Increase some tolerance for m2o cases since the normal round() requires exactly .5 above to be rounded up.

Fixes # (issue) 3192364

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?

Increase some tolerance for our test case

How did you do it?

How did you verify/test it?

validated on T2 testbed 8800

Any platform specific information?

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

Documentation

@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@auspham auspham changed the title chore: increase tolerance for rounding in m2o tests [Snappi] increase tolerance for rounding in m2o tests Feb 6, 2025
@auspham auspham requested a review from sdszhang February 6, 2025 22:23
Copy link
Copy Markdown
Contributor

@sdszhang sdszhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Copy Markdown
Collaborator

@yejianquan yejianquan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yejianquan yejianquan merged commit d86afbc into sonic-net:master Feb 7, 2025
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Feb 7, 2025
Description of PR
Summary:
Increase some tolerance for m2o cases since the normal round() requires exactly .5 above to be rounded up.

Fixes # (issue) 3192364


Approach
What is the motivation for this PR?
Increase some tolerance for our test case

How did you do it?
How did you verify/test it?
validated on T2 testbed 8800

Signed-off-by: Austin Pham <[email protected]>
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202411: #16846

@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to msft-202405: Azure/sonic-mgmt.msft#67

nnelluri-cisco pushed a commit to nnelluri-cisco/sonic-mgmt that referenced this pull request Mar 15, 2025
Description of PR
Summary:
Increase some tolerance for m2o cases since the normal round() requires exactly .5 above to be rounded up.

Fixes # (issue) 3192364


Approach
What is the motivation for this PR?
Increase some tolerance for our test case

How did you do it?
How did you verify/test it?
validated on T2 testbed 8800

Signed-off-by: Austin Pham <[email protected]>
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.

4 participants