Fixed inconsistency between HasIntField and IntField (#2813)
This commit is contained in:
committed by
Daniel Nelson
parent
bfeb3020a3
commit
ac5ac3161f
@@ -419,7 +419,7 @@ func TestRabbitMQGeneratesMetrics(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, metric := range intMetrics {
|
||||
assert.True(t, acc.HasIntField("rabbitmq_overview", metric))
|
||||
assert.True(t, acc.HasInt64Field("rabbitmq_overview", metric))
|
||||
}
|
||||
|
||||
nodeIntMetrics := []string{
|
||||
@@ -437,7 +437,7 @@ func TestRabbitMQGeneratesMetrics(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, metric := range nodeIntMetrics {
|
||||
assert.True(t, acc.HasIntField("rabbitmq_node", metric))
|
||||
assert.True(t, acc.HasInt64Field("rabbitmq_node", metric))
|
||||
}
|
||||
|
||||
assert.True(t, acc.HasMeasurement("rabbitmq_queue"))
|
||||
|
||||
Reference in New Issue
Block a user