@@ -60,7 +60,7 @@ private static SearchPipelineStats createStats() {
60
60
new SearchPipelineStats .ProcessorStats ("req1:a" , "req1" , new OperationStats (33 , 34 , 35 , 36 )),
61
61
new SearchPipelineStats .ProcessorStats ("req2" , "req2" , new OperationStats (37 , 38 , 39 , 40 ))
62
62
),
63
- List .of (new SearchPipelineStats .ProcessorStats ("pha1:a" , "pha1" , new OperationStats (25 , 26 , 27 , 28 ))),
63
+ List .of (new SearchPipelineStats .ProcessorStats ("pha1:a" , "pha1" , new OperationStats (33 , 34 , 35 , 36 ))),
64
64
List .of ()
65
65
)
66
66
)
@@ -126,6 +126,19 @@ public void testToXContent() throws IOException {
126
126
+ " }"
127
127
+ " }"
128
128
+ " }"
129
+ + " ],"
130
+ + " \" phase_results_processors\" : ["
131
+ + " {"
132
+ + " \" pha1:a\" : {"
133
+ + " \" type\" : \" pha1\" ,"
134
+ + " \" stats\" : {"
135
+ + " \" count\" : 25,"
136
+ + " \" time_in_millis\" : 26,"
137
+ + " \" current\" : 27,"
138
+ + " \" failed\" : 28"
139
+ + " }"
140
+ + " }"
141
+ + " }"
129
142
+ " ]"
130
143
+ " },"
131
144
+ " \" p2\" : {"
@@ -165,7 +178,20 @@ public void testToXContent() throws IOException {
165
178
+ " }"
166
179
+ " }"
167
180
+ " ],"
168
- + " \" response_processors\" : [ ]"
181
+ + " \" response_processors\" : [ ],"
182
+ + " \" phase_results_processors\" : ["
183
+ + " {"
184
+ + " \" pha1:a\" : {"
185
+ + " \" type\" : \" pha1\" ,"
186
+ + " \" stats\" : {"
187
+ + " \" count\" : 33,"
188
+ + " \" time_in_millis\" : 34,"
189
+ + " \" current\" : 35,"
190
+ + " \" failed\" : 36"
191
+ + " }"
192
+ + " }"
193
+ + " }"
194
+ + " ]"
169
195
+ " }"
170
196
+ " }"
171
197
+ " }"
0 commit comments