commit | 288fde0f567b926ca79e8d46fb1841813ebf98b6 | [log] [tgz] |
---|---|---|
author | Daulet Zhanguzin <dauletz@google.com> | Thu Dec 05 18:06:14 2019 +0000 |
committer | Daulet Zhanguzin <dauletz@google.com> | Fri Dec 06 15:45:17 2019 +0000 |
tree | 6ba1c7e799fa519cc5305c8475a3e8a15a50ccc4 | |
parent | a44951c4e76027f2dccd9a24c1f9d1abf9869ca9 [diff] |
Add retry to flaky UnixFileTests. There is always going to be a race between the two system calls so the workaround to only fail the test if it does not succeed after multiple retries. Fixes: 145338739 Test: tested with 'CtsLibcoreTestCases:org.apache.harmony.luni.tests.java.io.UnixFileTest --rerun-until-failure 1000', however the same command didn't repro the bug on master, hence flaky fix is not confirmed. Change-Id: I60aa0f7bd31affef8ba9d3c340ca581d425c4d70