sonic-net / sonic-mgmt

Configuration management examples for SONiC
Other
200 stars 732 forks source link

fix: add concurrent run for config_reload pc_test_lag #15721

Closed auspham closed 1 day ago

auspham commented 4 days ago

Description of PR

Currently, pc/test_lag_2 is having timeout in teardown with the default timeout of 300 seconds.

Since by default the thread_count = 2, which means at maximum, only 2 available thread can be used to run config_reload in DUT. Which means only 2 DUT are config_reload at a time.

This will be slow and exceed 300 seconds.

Summary: Fixes # (issue)

Type of change

Back port request

Approach

What is the motivation for this PR?

How did you do it?

we should specify the thread_count to be the same number of duthost so that they're all config_reload in concurrent.

How did you verify/test it?

Any platform specific information?

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

Documentation

auspham commented 1 day ago

cc @wumiaont

mssonicbld commented 1 day ago

Cherry-pick PR to 202405: https://github.com/sonic-net/sonic-mgmt/pull/15791