@@ -14,25 +14,25 @@ func Test_HashedMetricsList(t *testing.T) {
14
14
15
15
func hashedMetricsListGenerateMetrics (t * testing.T , m * HashedMetricList ) {
16
16
expectHashedListCount (t , m , 0 )
17
- m .Inc (prometheus.Labels {"key" : "info" })
17
+ m .Inc (prometheus.Labels {"key" : "info" , "foo" : "bar" })
18
18
expectHashedListCount (t , m , 1 )
19
19
20
- m .Inc (prometheus.Labels {"key" : "info" })
20
+ m .Inc (prometheus.Labels {"key" : "info" , "foo" : "bar" })
21
21
expectHashedListCount (t , m , 1 )
22
22
23
- m .Inc (prometheus.Labels {"key" : "test" })
23
+ m .Inc (prometheus.Labels {"key" : "test" , "foo" : "bar" })
24
24
expectHashedListCount (t , m , 2 )
25
25
26
- m .Inc (prometheus.Labels {"key" : "info" })
26
+ m .Inc (prometheus.Labels {"key" : "info" , "foo" : "bar" })
27
27
expectHashedListCount (t , m , 2 )
28
28
29
- m .Inc (prometheus.Labels {"key" : "test" })
29
+ m .Inc (prometheus.Labels {"key" : "test" , "foo" : "bar" })
30
30
expectHashedListCount (t , m , 2 )
31
31
32
- m .Inc (prometheus.Labels {"key" : "test2" })
32
+ m .Inc (prometheus.Labels {"key" : "test2" , "foo" : "bar" })
33
33
expectHashedListCount (t , m , 3 )
34
34
35
- m .Inc (prometheus.Labels {"key" : "info" })
35
+ m .Inc (prometheus.Labels {"key" : "info" , "foo" : "bar" })
36
36
expectHashedListCount (t , m , 3 )
37
37
}
38
38
0 commit comments