commit | 0c1e47eaab8d2916df6a9a5f045397f208c6cd46 | [log] [tgz] |
---|---|---|
author | Roland Levillain <rpl@google.com> | Tue Jul 09 17:20:42 2024 +0100 |
committer | Roland Levillain <rpl@google.com> | Fri Jul 12 18:21:21 2024 +0000 |
tree | 18b36d22e22240b26d0b1554b115783703f3216a | |
parent | ff786e85a9443ae525ebf1a59bcbb4ee050b1e0d [diff] |
Support non-fatal services in `InstallApexModuleTargetPreparer`. Add option `non-fatal-service` to TradeFed test preparer `com.android.tradefed.targetprep.InstallApexModuleTargetPreparer`, allowing users to make crashes of critical services non-fatal, thus preventing rollbacks (of the the updated APEX modules) triggered by such crashes. Flag: TEST_ONLY Bug: 350464232 Test: m tradefed tradefed-tests \ && tools/tradefederation/core/javatests/run_tradefed_tests.sh \ --class com.android.tradefed.targetprep.InstallApexModuleTargetPreparerTest Change-Id: I4b5ffdcd90f1deb97c071f867acc7b5f9edb6421
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.