canonical / canonical/matter-snap-testing
Make the maxRetry configurable for WaitForLogMessage()
- Dominant language
- Go
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/canonical/matter-snap-testing/blob/c15a6cdfc5419f574ce928f0ab1d29bab4cd37fd/utils/config.go#L55
It is useful to have this `maxRetry` configurable, as some services might take longer than 10 seconds to produce the desired log.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in utils/config.go at the referenced line and inspect WaitForLogMessage() and how its maxRetry value is currently set. Make maxRetry configurable without changing the function's purpose, then verify that callers can provide a value suitable for services that take longer than 10 seconds to produce the desired log.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100