Commit f0b850f
authored
fixing SamplingServiceTests.testClusterChanged() (#136489)
This makes two fixes to SamplingServiceTests.testClusterChanged():
1. It prevents the test from running when the random sampling feature is not present
2. It avoids an edge case where the index request is larger than the maximum size of the entire sample
Closes #1364501 parent e21e7b8 commit f0b850f
File tree
1 file changed
+3
-2
lines changed- server/src/test/java/org/elasticsearch/ingest
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| 264 | + | |
264 | 265 | | |
265 | 266 | | |
266 | 267 | | |
| |||
276 | 277 | | |
277 | 278 | | |
278 | 279 | | |
279 | | - | |
| 280 | + | |
280 | 281 | | |
281 | 282 | | |
282 | 283 | | |
| |||
316 | 317 | | |
317 | 318 | | |
318 | 319 | | |
319 | | - | |
| 320 | + | |
320 | 321 | | |
321 | 322 | | |
322 | 323 | | |
| |||
0 commit comments