Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Thread testing #54

Merged
merged 4 commits into from
May 2, 2024
Merged

Add Thread testing #54

merged 4 commits into from
May 2, 2024

Conversation

farshidtz
Copy link
Member

@farshidtz farshidtz commented Apr 29, 2024

Most changes have been added by #48 and #52.

MonicaisHer and others added 4 commits April 22, 2024 15:10
* [WIP] add thread commission test

* Split thread test from tests directory, use all clusters snap

* Change variables scope

* Check log on remote device, replace snap names with consts

improve comments

* Remove obsolete LFS file, update file names
* fix: commission and validation

- Commission via code, without using BLE
- Use UTC time on target to ensure consistent queries regardless of local/remote timezones

* Merge Go modules, refactor thread tests

* Remove unneeded avahi-control connection

Inline with doc updates: canonical/matter-docs#22

* Remove unneeded bluetooth interfaces

* Add error logging for OTBR failure

Getting an error is common when the RCP is disconnected or using a wrong firmware
@farshidtz farshidtz changed the title Thread testing Add Thread testing Apr 29, 2024
@farshidtz farshidtz marked this pull request as ready for review April 29, 2024 14:59
@farshidtz farshidtz requested a review from locnnil April 29, 2024 14:59
Copy link
Contributor

@locnnil locnnil left a comment

Choose a reason for hiding this comment

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

Some notes:

  • Would be good if the remote_exec function and the SSH logic be moved to the matter-snap-testing library some time in the future.
  • waitForLogMessage and remote_waitForLogMessage are the other two functions that should be moved to the testing library.

On the overall, LGTM! Great job!

@locnnil locnnil merged commit 2333f09 into main May 2, 2024
4 checks passed
@farshidtz farshidtz deleted the thread-testing branch May 2, 2024 21:03
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