DataDog / dd-sdk-android

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

Fix SR flaky test #2042

Closed xgouchet closed 4 months ago

xgouchet commented 4 months ago

What does this PR do?

Fix some flaky tests: the tests didn't take into account the fact that the progress computation would change for Android O or legacy APIs

codecov-commenter commented 4 months ago

Codecov Report

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

Project coverage is 83.07%. Comparing base (a0e05c3) to head (9887c26). Report is 2 commits behind head on develop.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #2042 +/- ## =========================================== - Coverage 83.14% 83.07% -0.08% =========================================== Files 491 491 Lines 17691 17703 +12 Branches 2691 2691 =========================================== - Hits 14709 14705 -4 - Misses 2238 2261 +23 + Partials 744 737 -7 ``` [see 32 files with indirect coverage changes](https://app.codecov.io/gh/DataDog/dd-sdk-android/pull/2042/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog)