Commit 206eb0d
committed
Disable queryable built-in roles feature for core and datastream YAML tests (elastic#121541)
This PR disables the "queryable built-in roles" feature for the `CoreWithSecurityClientYamlTestSuiteIT` and `DataStreamsClientYamlTestSuiteIT` YAML test suites.
The feature was enabled by default in the elastic#120323 PR, which asynchronously creates the `.security` index after cluster formation and indexes all built-in roles. The asynchronous creation of the `.security` index introduces non-deterministic behavior in our YAML tests.
Since these test suites are not intended to verify the queryable built-in roles functionality, having the feature enabled introduced flakiness and unnecessary complexity to handle `.security` in existing tests. These tests would have to exclude the `.security` index in some way (by adjusting permissions or API calls), and in the end cleanup (delete) the `.security` index. This simply adds overhead without much gain. The feature is already test covered by `XPackRestIT` and other integration/REST tests, disabling it here would not compromise test coverage. Instead, it ensures these suites remain deterministic and focused on the behaviors they were designed to verify.
Resolves elastic#121536
Resolves elastic#121513
Resolves elastic#121484
Resolves elastic#121478
Resolves elastic#121290
Resolves elastic#121246
Resolves elastic#121242
Resolves elastic#121238
Resolves elastic#121186
Resolves elastic#121131
Resolves elastic#121130
Resolves elastic#121128
Resolves elastic#121014
Resolves elastic#120965
Resolves elastic#120920
Resolves elastic#120890
(cherry picked from commit d1beb01)
# Conflicts:
# muted-tests.yml1 parent 8ff5ac8 commit 206eb0d
File tree
5 files changed
+4
-32
lines changed- modules/data-streams/src/yamlRestTest/java/org/elasticsearch/datastreams
- x-pack
- plugin/ml/qa/ml-with-security
- qa
- core-rest-tests-with-security/src/yamlRestTest/java/org/elasticsearch/xpack/security
- rolling-upgrade
5 files changed
+4
-32
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | 223 | | |
227 | 224 | | |
228 | 225 | | |
| |||
235 | 232 | | |
236 | 233 | | |
237 | 234 | | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | 235 | | |
242 | 236 | | |
243 | 237 | | |
| |||
253 | 247 | | |
254 | 248 | | |
255 | 249 | | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | 250 | | |
263 | 251 | | |
264 | 252 | | |
| |||
283 | 271 | | |
284 | 272 | | |
285 | 273 | | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | 274 | | |
290 | 275 | | |
291 | 276 | | |
| |||
303 | 288 | | |
304 | 289 | | |
305 | 290 | | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | 291 | | |
310 | 292 | | |
311 | 293 | | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | 294 | | |
322 | 295 | | |
323 | 296 | | |
| |||
348 | 321 | | |
349 | 322 | | |
350 | 323 | | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | 324 | | |
355 | 325 | | |
356 | 326 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| 261 | + | |
261 | 262 | | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
| |||
0 commit comments