Bug 1667278 Comment 7 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

The test fails because there are 2 instead of 1 calls to `onMetadata` on the second session for the [given test steps](https://searchfox.org/mozilla-central/source/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/MediaSessionTest.kt#438).

Calling `onMetadata` more than once is not critical here since we don't give any guarantees in the API on the number of calls and the provided metadata remains correct.
For this reason, I'm going to remove that constraint in the test for now to reduce intermittent failure noise.

@alwu, do you have an idea, why that might be happening in this case?
The test fails because there are 2 instead of 1 calls to `onMetadata` on the second session for the [given test steps](https://searchfox.org/mozilla-central/source/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/MediaSessionTest.kt#438-480).

Calling `onMetadata` more than once is not critical here since we don't give any guarantees in the API on the number of calls and the provided metadata remains correct.
For this reason, I'm going to remove that constraint in the test for now to reduce intermittent failure noise.

@alwu, do you have an idea, why that might be happening in this case?

Back to Bug 1667278 Comment 7