Commit 5a7bdf6
[Saved Objects] Stabilize index-pattern relationships API test ordering (elastic#253451)
## Summary
- Stabilizes the saved objects management relationships API test for
index patterns by sorting relations before asserting equality.
- Prevents flaky failures caused by non-deterministic relation ordering
in API responses.
- Closes elastic#244751
## Test plan
- [x] Run `node scripts/functional_test_runner --config
src/platform/test/api_integration/config.ts --include-tag
saved_objects_management` (or equivalent targeted API integration run)
Made with [Cursor](https://cursor.com)
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent bacbe0f commit 5a7bdf6
1 file changed
Lines changed: 10 additions & 2 deletions
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
74 | 80 | | |
75 | 81 | | |
76 | 82 | | |
| |||
462 | 468 | | |
463 | 469 | | |
464 | 470 | | |
465 | | - | |
| 471 | + | |
466 | 472 | | |
467 | 473 | | |
468 | 474 | | |
| |||
509 | 515 | | |
510 | 516 | | |
511 | 517 | | |
512 | | - | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
513 | 521 | | |
514 | 522 | | |
515 | 523 | | |
| |||
0 commit comments