DataDog / dd-sdk-android

Datadog SDK for Android (Compatible with Kotlin and Java)
Apache License 2.0
140 stars 56 forks source link

Fix RumSessionEnded metric flaky test #2114

Closed ambushwork closed 1 week ago

ambushwork commented 1 week ago

What does this PR do?

Fix the min boundary of generating the int for unit test.

Review checklist (to be filled by reviewers)

codecov-commenter commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 69.67%. Comparing base (d2a5741) to head (15e7882). Report is 13 commits behind head on develop.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #2114 +/- ## =========================================== - Coverage 69.84% 69.67% -0.17% =========================================== Files 715 715 Lines 26577 26590 +13 Branches 4457 4458 +1 =========================================== - Hits 18561 18525 -36 - Misses 6821 6838 +17 - Partials 1195 1227 +32 ``` [see 28 files with indirect coverage changes](https://app.codecov.io/gh/DataDog/dd-sdk-android/pull/2114/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog)