summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorTej Singh <singhtejinder@google.com>2020-01-27 16:52:17 -0800
committerTej Singh <singhtejinder@google.com>2020-01-27 16:52:17 -0800
commit97db3ffa71fb0ed2c02a30bd3abd25f2977374ef (patch)
treed64e3310a7879823944390e6a2d344eb959820f9 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent55c70caaafe6bae9f53146369dccf746e2a285eb (diff)
Fix Statsd rejecting configs
Statsd is rejecting configs for two reasons as a result of the new puller API: 1. It expected all of the required pullers to be in the puller map when the config was sent. This is no longer required to be true since the map is updated as pullers are registered. Most significantly, no pullers will be present on boot when we parse the config. 2. In metrics_manager_util, we would create a StatsPullerManager on the local stack and check that for the puller existing, rather than the sp<> that was passed in. Since we changed the big puller map to be non-static in ag/10174227, checking the map from the local pullerManager is guaranteed to fail, since none of the pullers are added to that puller manager. This Cl fixes both issues. Bug: 148405638 Test: added the config used in b/148405638. Made sure it was valid when pushed on boot, and at some point after boot after the pullers registered. Change-Id: If083bda03b5db2822347d518bba23573b573bf89
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions