commit | bd07c1033ea3bdce9eb945129ab8103e9580d3a7 | [log] [tgz] |
---|---|---|
author | Julien Desprez <jdesprez@google.com> | Mon Feb 13 13:29:18 2023 -0800 |
committer | Julien Desprez <jdesprez@google.com> | Mon Feb 13 23:36:40 2023 +0000 |
tree | 4dfca0ef7094a4b00b2f3afa07e80102892e706b | |
parent | f8e23277747f55ece284875246d8453d20ea61b9 [diff] |
Ensure sandbox is teardowned if setup fails During parallel setup if device preSetup fails (device not boot,etc), ensure we still teardown the sandbox setup since the run() won't be called and we are leaking all the downloaded resources. Future improvement could also consider interrupting the thread but current trace shows that fail boot is slower already. Test: presubmit Bug: 269025525 Change-Id: I3321a5c5b250d14ed4671919b4d39ffa9bfa4c58
TF is a test harness used to drive Android automated testing. It runs on test hosts and monitors the connected devices, handling test scheduling & execution and device management.
Other test harnesses like Compatibility Test Suite (CTS) and Vendor Test Suite (VTS) use TF as a basis and extend it for their particular needs.
1. Create your change in Gerrit 2. Add the reviewer named "Tradefed Codereview" (email: tradefed-codereview@tradefederation.google.com.iam.gserviceaccount.com) 3. Review the code review guidance at go/tf-guidelines and go/tradefed-code-reviews 4. GWSQ should add a couple of people from the team to review your code and give feedback.
More information at: https://source.android.com/docs/core/tests/tradefed/
See more details about Tradefed Architecture at: https://source.android.com/docs/core/tests/tradefed/architecture
If you are a tests writer you should start looking in the test_framework/ component which contains everything needed to write a tests in Tradefed.