SRGSSR / pillarbox-android

The modern SRG SSR Pillarbox player targeting Android platforms
https://android.pillarbox.ch/api
MIT License
13 stars 1 forks source link

Fix `ComScoreTrackerIntegrationTest` flakiness #711

Closed MGaetan89 closed 1 month ago

MGaetan89 commented 1 month ago

Pull request

Description

Only check that setDvrWindowLength() and startFromDvrWindowOffset() are called at some point, and not at specific positions in the sequence.

Changes made

Checklist

github-actions[bot] commented 1 month ago

Code Coverage

Overall Project 50.08% -0.02% 🟢
Files changed 37.5% 🟢


Module Coverage
:pillarbox-core-business 80.41% -0.1% 🟢
Files |Module|File|Coverage|| |:-|:-|:-|:-:| |:pillarbox-core-business|[ComScoreTracker.kt](https://github.com/SRGSSR/pillarbox-android/blob/be9a89e33124c38a0ad374a11c2c2ed1916cf3d1/pillarbox-core-business%2Fsrc%2Fmain%2Fjava%2Fch%2Fsrgssr%2Fpillarbox%2Fcore%2Fbusiness%2Ftracker%2Fcomscore%2FComScoreTracker.kt)|82.39% **`-1.17%`**|🟢|