Ensure metric collectors are cloned per shard

In order to avoid state issue when doing local sharding
with device metric collectors, ensure a copy is given to
each shard.

Test: unit tests
Bug: 36351803
Change-Id: Ib756efde7a25c69b694a2bec2b02e0e9145419e8
2 files changed
tree: e32ed783e34a7edd37ca5c9681f3df019c3705cf
  1. atest/
  2. prod-tests/
  3. proto/
  4. python-lib/
  5. remote/
  6. res/
  7. src/
  8. tests/
  9. util-apps/
  10. .classpath
  11. .gitignore
  12. .project
  13. Android.bp
  14. Android.mk
  15. atest_tradefed.sh
  16. CleanSpec.mk
  17. error_prone_rules.mk
  18. MANIFEST.mf
  19. OWNERS
  20. PREUPLOAD.cfg
  21. README.md
  22. run_tf_cmd.sh
  23. script_help.sh
  24. tradefed.sh
  25. tradefed_win.bat
  26. verify.sh
README.md

Trade Federation (TF / tradefed)

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:

  • source build/envsetup.sh
  • tapas tradefed-all
  • make -j8

More information at: https://source.android.com/devices/tech/test_infra/tradefed/