Skip to content

[manual] [PR:16428] refactor: optimize qos sai test#16474

Closed
cyw233 wants to merge 1 commit intosonic-net:202411from
cyw233:cherry/202411/16428
Closed

[manual] [PR:16428] refactor: optimize qos sai test#16474
cyw233 wants to merge 1 commit intosonic-net:202411from
cyw233:cherry/202411/16428

Conversation

@cyw233
Copy link
Contributor

@cyw233 cyw233 commented Jan 13, 2025

Description of PR

Optimize the qos/test_qos_sai.py test to reduce the running time.

Summary:
Fixes # (issue) Microsoft ADO 30056122

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
    • Add ownership here(Microsft required only)
  • Test case improvement

Back port request

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

Approach

What is the motivation for this PR?

The running time of the qos/test_qos_sai.py test is too long (~9h) on T2 chassis so we wanted to reduce the running time. With this implementation, the running time will be reduced to (~7.5h)

How did you do it?

How did you verify/test it?

I ran the updated code and can confirm it's working well on T2 chassis: Elastictest link. The 2 DWRR failures are expected, which will be fixed after #16199

I also ran a T1 regression test to confirm: Elastictest link

Any platform specific information?

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

Documentation

Description of PR
Optimize the qos/test_qos_sai.py test to reduce the running time.

Summary:
Fixes # (issue) Microsoft ADO 30056122

Type of change
 Bug fix
 Testbed and Framework(new/improvement)
 New Test case
 Skipped for non-supported platforms
 Add ownership here(Microsft required only)
 Test case improvement

Approach
What is the motivation for this PR?
The running time of the qos/test_qos_sai.py test is too long (~9h) on T2 chassis so we wanted to reduce the running time. With this implementation, the running time will be reduced to (~7.5h)

How did you do it?
How did you verify/test it?
I ran the updated code and can confirm it's working well on T2 chassis: Elastictest link. The 2 DWRR failures are expected, which will be fixed after sonic-net#16199

I also ran a T1 regression test to confirm: Elastictest link

co-authorized by: jianquanye@microsoft.com
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@cyw233
Copy link
Contributor Author

cyw233 commented Jan 13, 2025

Original PR: #16428

@cyw233 cyw233 mentioned this pull request Jan 13, 2025
12 tasks
@cyw233 cyw233 closed this Jan 13, 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.

2 participants