Skip to content

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

Merged
yejianquan merged 1 commit intosonic-net:202405from
cyw233:cherry/202405/16428
Jan 14, 2025
Merged

[manual] [PR:16428] refactor: optimize qos sai test#16472
yejianquan merged 1 commit intosonic-net:202405from
cyw233:cherry/202405/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: [email protected]
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@cyw233 cyw233 changed the title refactor: optimize qos sai test (#16428) [manual] [PR:16428] refactor: optimize qos sai test (#16428) Jan 13, 2025
@cyw233 cyw233 changed the title [manual] [PR:16428] refactor: optimize qos sai test (#16428) [manual] [PR:16428] refactor: optimize qos sai test Jan 13, 2025
@cyw233
Copy link
Contributor Author

cyw233 commented Jan 13, 2025

Original PR: #16428

@cyw233 cyw233 mentioned this pull request Jan 13, 2025
12 tasks
Copy link
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 359d97e into sonic-net:202405 Jan 14, 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.

3 participants