Commit e9981d7
Merge #442
442: Make index swap test more permissive r=curquiza a=Strift
Fix [Meilisearch 1.18 tests run](https://github.com/meilisearch/meilisearch/actions/runs/17061126416/job/48368042156)
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Tests**
* Strengthened validation for swap-related responses by replacing broad deep-equality checks with targeted, element-wise assertions.
* Added explicit length verification to ensure the expected number of items is returned.
* Reduced brittleness by focusing on key fields rather than entire structures, making tests more resilient to non-essential changes.
* Improved failure diagnostics to make issues easier to identify and resolve during test runs.
* No user-facing behavior changes.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Co-authored-by: Strift <[email protected]>1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments