diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2019-06-10 14:22:09 +0900 |
---|---|---|
committer | Remi NGUYEN VAN <reminv@google.com> | 2019-06-12 18:54:35 +0900 |
commit | 74c708cacb3ae6b8ee987d3df02c2e4ec0c56e6e (patch) | |
tree | e5350e0326e0776d9f9ee005ae0d1d7438dbd2f5 /src/android/net/util/NetworkStackUtils.java | |
parent | 670a869a13a85fd38d85e206da622eefcaff8e00 (diff) |
Add reporting and command args to deflake tests
Allow tests extending DeflakeHostTestBase to be used as command-line
tools to find flakes:
- Add support for deflake_run_count, deflake_single_run_timeout,
and deflake_test command-line args to customize runs of the test
package.
- Add method-level reporting of the number of flakes for each test and
the last stacktrace.
Passing arguments to atest is still inconvenient but works; see example
in the class javadoc.
Test: made tests flaky, run with atest, see failure report
Bug: 134730673
Change-Id: I23f8c2db939ab49e0a2f314573de6460cd110318
Diffstat (limited to 'src/android/net/util/NetworkStackUtils.java')
0 files changed, 0 insertions, 0 deletions