canonical / canonical/matter-snap-testing
Update `waitForLogMessage` to print the tail before failing
Open
Beginner friendly
enhancement
- Dominant language
- Go
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
* Refactoring `waitForLogMessage` function to implemented [like this](https://github.com/canonical/chip-tool-snap/pull/52/files#diff-9f9ff4701558a6c74d6f1256c747d2137f99099ddb2f39abd31ad4a4ae02eaa5R100-R119), which it prints the tail before failing.
Contributor guide
No contributing guide indexed for this repository
Research direction
Find the waitForLogMessage function in the repository and compare it with the implementation shown in the linked pull request. Verify that the log tail is printed before the function fails, and confirm the behavior with the existing test or test flow that exercises this helper.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- testing
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100