project-chip / connectedhomeip

Matter (formerly Project CHIP) creates more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
https://buildwithmatter.com
Apache License 2.0
7.52k stars 2.02k forks source link

[Tooling] Optimize CCTRL test script on waiting time #35229

Closed yufengwangca closed 1 month ago

yufengwangca commented 2 months ago

Reproduction steps / Feature

We can speed up the CCTRL test by not blindly waiting 30 seconds. What we can do is we can subscribe to the Fabrics attribute in step 1 and we can wait up to 30 seconds here for a change in subscriptions. We can do that here because we are expecting DUT to be successfully commission TH_SERVER in this case.

Platform

raspi

Platform Version(s)

No response

Type

Manually tested with SDK

(Optional) If manually tested please explain why this is only manually tested

No response

Anything else?

No response

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Remove stale label or comment or this will be closed in 30 days.