Commit e9bebf8
authored
Test: Fix error in assumption around accuracy (backport of elastic#69932) (elastic#70169)
In our test for the accuracy of the `avg` aggregation we assumed that
you could just run it across any number of leaves. But our tests
sometimes split those leaves as though they were separate shards. And,
that gets us inaccurate results because we don't send the compensations
back across the results for each shard. That is probably a bug. I
opened elastic#69931 to talk more about it.1 parent aac3d5c commit e9bebf8
File tree
1 file changed
+16
-1
lines changed- server/src/test/java/org/elasticsearch/search/aggregations/metrics
1 file changed
+16
-1
lines changedLines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
243 | 244 | | |
244 | 245 | | |
245 | 246 | | |
| 247 | + | |
246 | 248 | | |
247 | | - | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
248 | 254 | | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
249 | 264 | | |
250 | 265 | | |
251 | 266 | | |
| |||
0 commit comments