DataDog / datadogpy

The Datadog Python library
https://datadoghq.com/
Other
609 stars 302 forks source link

[tests] Fix `fake_statsd_server.py` received metric counting #695

Closed sgnn7 closed 2 years ago

sgnn7 commented 2 years ago

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

Additional Notes

N/A

Release Notes

N/A

Review checklist (to be filled by reviewers)