commit | 5379e3b359001a60ed2d6d7e1f739904824e7459 | [log] [tgz] |
---|---|---|
author | Xing Dai <xingdai@google.com> | Tue Oct 29 19:19:19 2019 -0700 |
committer | Xing Dai <xingdai@google.com> | Wed Oct 30 10:38:11 2019 -0700 |
tree | c287a0022efcd9777b13b60166021ed7674907ee | |
parent | a415f0470a462016c6f61977ccf1e6687c48b013 [diff] |
Reuse GCSConfigurationFactory for clone the host config. Before this change, TF save the latest host config downloaded from GCS, but it is incorrect when the host config include other host configs from GCS, since it will only save the deepest included one. e.g.: host-config1 include host-config2, host-config2 include common.xml. Then TF will save common.xml. When start sandbox, it will use common.xml but miss information from host-config1 and host-config2. In this change, instead of save the host config locally, we reuse the GCSConfigurationFactory. When clone the host config, it will get the host configs with all its dependencies from GCS. Bug: 143501254 Test: unit test. Change-Id: I7a6295f116957ac0b1d289ea1535306f8100b6a1
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.
Building TF:
More information at: https://source.android.com/devices/tech/test_infra/tradefed/
See more details about Tradefed Architecture at: https://source.android.com/devices/tech/test_infra/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.