adobe / adobe/aepsdk-analytics-android
Fix intermittent unit test failure
- Dominant language
- Kotlin
- Stars
- 3
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
### Task description
The following test fails
```
com.adobe.marketing.mobile.analytics.internal.TimerStateTests > start() - duplicated triggering without error FAILED
java.lang.AssertionError at TimerStateTests.kt:57
```
https://app.circleci.com/pipelines/github/adobe/aepsdk-analytics-android/151/workflows/44461515-f9b3-4c16-b9c6-915bcb8d034b/jobs/424
### Additional implementation details or code snippet(s)
_No response_
Contributor guide
Research direction
Start with TimerStateTests.kt at line 57 and review the CircleCI job linked in the issue. Re-run the failing start() test and inspect the intermittent failure; done means the duplicated-triggering case passes reliably without an assertion error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100