(Part 2.1) Use new socket schema in ValueMetricProducer_test
Sending ValueMetricProducer_test as multiple CLs to retain diff and make it easier to review. I added a few different CreateLogEvent functions that account for tests that need events with 0, 2, and 3 values. The old #createEvent function took in one value but added it twice to the LogEvent. I replaced this with #CreateRepeatedValueLogEvent. Any events made with #createEvent or that took the form of: event.write(tagId) event.write(value) was replaced with a call to #CreateRepeatedValueLogEvent. I assumed that the tagId was used as the first field because an arbitrary number was needed. Test: bit statsd_test:* Bug: 149590301 Change-Id: I26de8074a66babcf3ab7ee395be0598d88b4ba59
Loading
Please register or sign in to comment