metrics: Fix metrics_uploader on VMs

metrics_uploader must be in testing mode so that it does not try to grab the
real hardware id (not available on VMs).

TEST=FEATURES=test emerge-amd64-generic metrics.
TEST=platform_MetricsUploader succeeds on a gizmo VM.

Change-Id: I9e508c8661dfdb7933161b0d41ef4cf9bd7db2c6
Reviewed-by: Bertrand Simonnet <>
Commit-Queue: Bertrand Simonnet <>
Tested-by: Bertrand Simonnet <>
7 files changed
tree: ab3fc58759b46dbd200dabc79674ec0680cae4ff
  1. metrics/