@@ -41,13 +41,13 @@ func TestDataAttributes(t *testing.T) {
41
41
SnippetsFilterCount : 13 ,
42
42
UpstreamSettingsPolicyCount : 14 ,
43
43
GatewayAttachedNpCount : 15 ,
44
- InferencePoolCount : 16 ,
45
44
},
46
45
SnippetsFiltersDirectives : []string {"main-three-count" , "http-two-count" , "server-one-count" },
47
46
SnippetsFiltersDirectivesCount : []int64 {3 , 2 , 1 },
48
47
NginxPodCount : 3 ,
49
48
ControlPlanePodCount : 3 ,
50
49
NginxOneConnectionEnabled : true ,
50
+ InferencePoolCount : 16 ,
51
51
}
52
52
53
53
expected := []attribute.KeyValue {
@@ -84,10 +84,10 @@ func TestDataAttributes(t *testing.T) {
84
84
attribute .Int64 ("SnippetsFilterCount" , 13 ),
85
85
attribute .Int64 ("UpstreamSettingsPolicyCount" , 14 ),
86
86
attribute .Int64 ("GatewayAttachedNpCount" , 15 ),
87
- attribute .Int64 ("InferencePoolCount" , 16 ),
88
87
attribute .Int64 ("NginxPodCount" , 3 ),
89
88
attribute .Int64 ("ControlPlanePodCount" , 3 ),
90
89
attribute .Bool ("NginxOneConnectionEnabled" , true ),
90
+ attribute .Int64 ("InferencePoolCount" , 16 ),
91
91
}
92
92
93
93
result := data .Attributes ()
@@ -131,10 +131,10 @@ func TestDataAttributesWithEmptyData(t *testing.T) {
131
131
attribute .Int64 ("SnippetsFilterCount" , 0 ),
132
132
attribute .Int64 ("UpstreamSettingsPolicyCount" , 0 ),
133
133
attribute .Int64 ("GatewayAttachedNpCount" , 0 ),
134
- attribute .Int64 ("InferencePoolCount" , 0 ),
135
134
attribute .Int64 ("NginxPodCount" , 0 ),
136
135
attribute .Int64 ("ControlPlanePodCount" , 0 ),
137
136
attribute .Bool ("NginxOneConnectionEnabled" , false ),
137
+ attribute .Int64 ("InferencePoolCount" , 0 ),
138
138
}
139
139
140
140
result := data .Attributes ()
0 commit comments