summaryrefslogtreecommitdiff
path: root/base/errors_unix.cpp
diff options
context:
space:
mode:
authorBertrand SIMONNET <bsimonnet@google.com>2015-09-28 11:04:29 -0700
committerBertrand SIMONNET <bsimonnet@google.com>2015-09-28 15:02:00 -0700
commit3598d951a6c7fade22b50c0af8b51e28c62fc1ea (patch)
treee8198fa2bbd18383ff8ce81cad1460f633b7f6fe /base/errors_unix.cpp
parent12ede1332a5ec0f2dd11732bf2162156e06684b8 (diff)
metricsd: Fix race condition in the tests.
We cached the enabled status for metrics as a static field in the metrics library. This field is not reset in between tests which treats the metrics as enabled if they were enabled previously. None of the users rely on the caching being static so the cached status was changed into a field. Also enabled the metrics in upload_service_test.cc after verifying that the test failed consistently. BUG: 24473349 TEST: unit tests. Change-Id: If05fdca644016d923aa7b1978db5e74ada563c1a
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions