Resolve potential data race in unit tests
Resolve potential data race in unit tests

if6was9/metricproxy,baris/metricproxy,signalfx/metricproxy,zvelo/metricproxy,baris/metricproxy,signalfx/metricproxy,if6was9/metricproxy,zvelo/metricproxy