MeiliSearch/crates
meili-bors[bot] de98656ed1
Merge #5210
5210: Improve test performance of get_index.rs  r=irevoire a=DerTimonius

# Pull Request

## Related issue
related to #4840

## What does this PR do?
This PR aims to improve the performance of the tests in `get_index.rs`.

There is a small issue though: 
the `list_multiple_indexes` test works great when ran alone, but when running with other tests it fails with a `corrupted task queue` error. I guess this has something to do with using a shared server, but I was not really able to pinpoint the issue.

Also, the `no_index_return_empty_list` does not work a shared server (as there now will always be at least one index on the server) and I was not really sure if rebuilding the whole suite for `get_and_paginate_indexes` should be viable? While waiting for feedback on the issue mentioned above, I'll try to change the `get_and_paginate_indexes` test so that it can use the shared server

## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!


Co-authored-by: Timon Jurschitsch <timon.jurschitsch@gmail.com>
Co-authored-by: Timon Jurschitsch <103483059+DerTimonius@users.noreply.github.com>
Co-authored-by: Tamo <tamo@meilisearch.com>
2025-01-27 10:04:08 +00:00
..
benchmarks fix the bad index version on opening 2025-01-23 16:51:24 +01:00
build-info Upgrade compatible dependencies 2025-01-08 13:52:14 +01:00
dump Add the new tasks with most of the job done 2025-01-23 16:48:32 +01:00
file-store Upgrade incompatible dependencies 2025-01-08 15:58:03 +01:00
filter-parser Fix insta to 1.39 2025-01-08 15:18:08 +01:00
flatten-serde-json Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
fuzzers fix the bad index version on opening 2025-01-23 16:51:24 +01:00
index-scheduler Do not assume v1.12 when there is no index-scheduler version 2025-01-23 17:16:53 +01:00
json-depth-checker Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
meili-snap Upgrade compatible dependencies 2025-01-08 13:52:14 +01:00
meilisearch removed unrelated files 2025-01-27 10:35:34 +01:00
meilisearch-auth Upgrade incompatible dependencies 2025-01-08 15:58:03 +01:00
meilisearch-types Removed CouldNotUpgrade from error file 2025-01-26 21:04:57 +05:30
meilitool Support offline upgrade up to v1.12.7 2025-01-24 12:25:33 +01:00
milli Comment the max grant of the bbqueue 2025-01-24 12:18:32 +01:00
permissive-json-pointer Add indices field to _matchesPosition to specify where in an array a match comes from (#5005) 2024-11-20 01:00:43 +01:00
tracing-trace Upgrade compatible dependencies 2025-01-08 13:52:14 +01:00
xtask Fix after upgrading sysinfo 2025-01-08 15:59:30 +01:00