BrayanDSO / Anki-Android

AnkiDroid: Anki flashcards on Android. Your secret trick to achieve superhuman information retention.
GNU General Public License v3.0
0 stars 0 forks source link

Fix UpgradeVolumeButtonsToBindingsTest flakiness #5

Closed BrayanDSO closed 2 years ago

BrayanDSO commented 2 years ago

For some unknown reason, the paratemerization of the class was causing the test to be flake. JUnit5 can't be used here either because @Before (@BeforeEach on JUnit5) doesn't run before every paratemerization on a test

Pull Request template

Purpose / Description

Describe the problem or feature and motivation

Fixes

Fixes Link to the issues.

Approach

How does this change address the problem?

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration (SDK version(s), emulator or physical, etc)

Learning (optional, can help others)

Describe the research stage

Links to blog posts, patterns, libraries or addons used to solve this problem

Checklist

Please, go through these checks before submitting the PR.