adobe / adobe/aepsdk-analytics-android

Fix intermittent unit test failure

Open
#71 0 comments 0 reactions 0 assignees View on GitHub
task
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.