Fixes counting of received metrics in manual test modules
Motivation
Since the introduction of newlines to the end of all sent statsd
messages, our fake_statsd_server and statsd_throughput test modules
have been miscounting the metrics received. While this has no impact on
the users, we need the accurate numbers in manually-run tests.
What does this PR do?
Fixes counting of received metrics in manual test modules
Motivation
Since the introduction of newlines to the end of all sent statsd messages, our fake_statsd_server and statsd_throughput test modules have been miscounting the metrics received. While this has no impact on the users, we need the accurate numbers in manually-run tests.
Alternate Designs
N/A
Possible Drawbacks
N/A
Verification Process
P=3 BENCHMARK_TRANSPORT="UDP" BENCHMARK_NUM_THREADS=10 BENCHMARK_NUM_RUNS=5 BENCHMARK_NUM_DATAPOINTS=5 "python${P}" -m unittest -vvv tests.performance.test_statsd_throughput
Additional Notes
N/A
Release Notes
N/A
Review checklist (to be filled by reviewers)
changelog/
label attached. If applicable it should have thebackward-incompatible
label attached.do-not-merge/
label attached.kind/
andseverity/
labels attached at least.