federicoiosue / Omni-Notes

Open source note-taking application for Android
https://omninotes.app
GNU General Public License v3.0
2.69k stars 1.11k forks source link

We found 4 tests flaky #761

Closed shaker-project closed 4 years ago

shaker-project commented 4 years ago

We run your test cases for 50 times and found that the following tests are flaky [1] (i.e., they pass or fail non-deterministically):

We ran these tests on a generic Android Emulator (AVD) with Android API version 28.

To reproduce failures on these tests, please run the following script on gist: https://gist.github.com/shaker-project/a5f0cd38fc78fbf9ff44c93067b339d6 If you didn't understand any point of the script we can explain.

We require that stress-ng is installed. If not, run $> sudo apt-get install stress-ng.

If you confirm this behavior, our suggestion is to add the annotation @TestFlaky on these tests. See https://developer.android.com/reference/androidx/test/filters/FlakyTest

If you wish for a repair proposal, please let us know.

[1] https://hackernoon.com/flaky-tests-a-war-that-never-ends-9aa32fdef359