Improve test infrastructure
This commit is contained in:
committed by
Brian Brazil
parent
86a6f337f6
commit
e34c52402f
@@ -39,7 +39,7 @@ func TestMysqlGeneratesMetrics(t *testing.T) {
|
||||
var count int
|
||||
|
||||
for _, p := range acc.Points {
|
||||
if strings.HasPrefix(p.Name, prefix.prefix) {
|
||||
if strings.HasPrefix(p.Measurement, prefix.prefix) {
|
||||
count++
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user