Many the fish
dbe551cf99
Merge pull request #5606 from martin-g/faster-settings-distinct-it-tests
...
tests: Faster settings::distinct IT tests
2025-06-02 07:07:23 +00:00
Many the fish
a299fbd33b
Merge pull request #5605 from martin-g/faster-search-restricted_searchable-it-tests
...
tests: Faster search::restricted_searchable IT tests
2025-06-02 07:06:50 +00:00
Many the fish
193119acb9
Merge pull request #5604 from martin-g/search-pagination-it-tests
...
tests: search::pagination IT tests
2025-06-02 07:05:52 +00:00
Many the fish
4c71118699
Merge pull request #5602 from martin-g/faster-search-matching_strategy-it-tests
...
tests: Faster search::matching_strategy IT tests
2025-06-02 07:04:43 +00:00
Many the fish
5fe2943d3c
Merge pull request #5601 from martin-g/faster-search-locales-it-tests
...
tests: Faster search::locales IT tests
2025-06-02 07:02:28 +00:00
Martin Tzvetanov Grigorov
1158d6689f
tests: Faster settings::distinct IT tests
...
Use shared server + unique indices
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-30 15:41:31 +03:00
Martin Tzvetanov Grigorov
d9b0463a0b
tests: Faster search::restricted_searchable IT tests
...
Use shared server + unique indices
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-30 15:37:27 +03:00
Martin Tzvetanov Grigorov
ae9899f179
tests: search::pagination IT tests
...
Minor cleanup.
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-30 15:26:55 +03:00
Martin Tzvetanov Grigorov
308fd7128e
Fix clippy errors
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-29 11:36:56 +03:00
Martin Tzvetanov Grigorov
27e7c00622
Add dynamic redactions for taskUid and enqueuedAt properties
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-29 11:33:10 +03:00
Martin Tzvetanov Grigorov
17207b5405
tests: Faster search::matching_strategy IT tests
...
Use shared server + unique indices for all tests
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-29 09:09:02 +03:00
Martin Tzvetanov Grigorov
bd95503eba
tests: Faster search::locales IT tests
...
Use a shared server + unique indices where possible
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-29 09:03:23 +03:00
Martin Tzvetanov Grigorov
d329e86250
tests: Use shared server + unique server where possible
...
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-29 08:42:10 +03:00
Tamo
c8e77b5f25
Merge pull request #5574 from martin-g/faster-add_documents-it-tests
...
perf: Faster integration tests for add_documents.rs
2025-05-28 13:13:38 +00:00
Martin Tzvetanov Grigorov
b4ca0a8c98
Update the tests related to updating indices
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-28 15:02:41 +03:00
Martin Tzvetanov Grigorov
b658e38acd
Fix formatting
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-28 15:02:41 +03:00
Martin Tzvetanov Grigorov
f87e46cc16
Ignore the result from #wait_task()
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-28 15:02:41 +03:00
Martin Grigorov
65354b414a
Update crates/meilisearch/tests/index/update_index.rs
...
Co-authored-by: Tamo <irevoire@protonmail.ch>
2025-05-28 15:02:40 +03:00
Martin Grigorov
025df397c0
Update crates/meilisearch/tests/index/update_index.rs
...
Co-authored-by: Tamo <irevoire@protonmail.ch>
2025-05-28 15:02:40 +03:00
Martin Grigorov
f77abc9dc8
Update crates/meilisearch/tests/index/update_index.rs
...
Co-authored-by: Tamo <irevoire@protonmail.ch>
2025-05-28 15:02:40 +03:00
Martin Tzvetanov Grigorov
7e9909ee45
perf: Faster index::update_index IT tests
...
Use a shared server where possible.
Assert succeeded/failed task waits.
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-28 15:02:40 +03:00
Martin Tzvetanov Grigorov
02929e241b
Update the status code
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-28 14:36:13 +03:00
Martin Grigorov
36f0a1492c
Apply suggestions from code review
...
Co-authored-by: Tamo <irevoire@protonmail.ch>
2025-05-28 14:22:04 +03:00
Martin Tzvetanov Grigorov
ce65ad213b
Add dynamic redactions for uid
, batchUid
and taskUid
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-28 14:22:04 +03:00
Martin Tzvetanov Grigorov
3e0de6cb83
Wait for the batched tasks bu their real uid.
...
Some of them succeed, others fail.
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-28 14:22:04 +03:00
Martin Tzvetanov Grigorov
ce9c930d10
Fix clippy and fmt
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-28 14:21:25 +03:00
Martin Tzvetanov Grigorov
fc88b003b4
Use shared server and unique indices for add_documents IT tests
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-28 14:20:07 +03:00
Martin Tzvetanov Grigorov
cf5d26124a
Call .succeeded() or .failed() on the waited task
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-28 14:18:34 +03:00
Martin Tzvetanov Grigorov
38b1c57fa8
Faster IT tests for add_documents.rs
...
Use Shared server where possible
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-28 14:18:33 +03:00
Tamo
83cd28b60b
Merge pull request #5584 from martin-g/faster-index-search-mod-tests
...
tests: Faster index::search::mod IT tests
2025-05-28 08:40:37 +00:00
Martin Tzvetanov Grigorov
48cad4132a
Fix clippy - ignore code
variable
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-27 16:44:57 +03:00
Martin Tzvetanov Grigorov
4897ad99d0
Wait for the add_documents task
...
Format the code
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-27 14:26:29 +03:00
Martin Tzvetanov Grigorov
d2948adea3
Migrate more tests to assert with "[uuid]" instead of real Uuid
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-26 14:31:58 +03:00
Martin Tzvetanov Grigorov
f54b57e5be
Use a Regex in insta dynamic redaction to replace Uuids with [uuid]
...
(cherry picked from commit f8b8c6ab71a28052cf9b271ca8aa5d4175f9e8f9)
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-26 14:03:48 +03:00
Martin Tzvetanov Grigorov
34d58f35c8
Print [uuid]
instead of the Uuid index name for MeilisearchHttpError::Milli errors
...
This way the tests' assertions/snapshots for unique indices would be stable
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-25 15:48:55 +03:00
Many the fish
97aeb6db4d
Merge pull request #5548 from lblack00/attributes-to-search-on-nested-fields
...
Added support for nested wildcards to attributes_to_search_on
2025-05-22 13:58:23 +00:00
Lucas Black
f888f87635
Updated formatting using RustFmt
2025-05-21 02:07:25 -07:00
Martin Tzvetanov Grigorov
8c8d98eeaa
Use shared server and unique indices for all tests where possible
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-21 10:48:20 +03:00
Lucas Black
c5ae43cac6
Updated all additional test cases
2025-05-20 09:03:26 -07:00
Martin Tzvetanov Grigorov
57eecd6197
Remove an empty line
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-20 14:37:45 +03:00
Martin Tzvetanov Grigorov
2fe5c78cb6
tests: Faster index::search::mod IT tests
...
* Use shared index where possible.
* Call .succeeded/.failed when waiting for a task.
* Use newer format_args syntax
* Do not use fully qualified name for meili_snap:: functions. The
functions are already imported in scope
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-20 14:26:26 +03:00
Tamo
8047cfe438
Merge pull request #5580 from martin-g/better-assertions-index-delete_index-it-tests
...
tests: Assert succeeded/failed for the index::delete_index IT tests
2025-05-20 08:49:24 +00:00
Tamo
5717e5c1af
Merge pull request #5578 from martin-g/faster-index-get_index-it-tests
...
perf: Faster index::get_index IT tests
2025-05-20 08:41:11 +00:00
Martin Tzvetanov Grigorov
bb07038c31
tests: Assert succeeded/failed for the index::delete_index IT tests
...
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-19 16:57:53 +03:00
Martin Tzvetanov Grigorov
d1a088ea0b
Format the code
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-19 16:52:43 +03:00
Martin Tzvetanov Grigorov
b68e22c0e6
Revert the improvements for get_and_paginate_indexes()
...
Because they won't work in multi-threaded execution of the tests
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-19 16:36:45 +03:00
Martin Tzvetanov Grigorov
03a36f116e
1. Use a unique Server for no_index_return_empty_list test
...
... because a Shared one could see indices created by other tests
2. List at least 1000 indices to make sure we get the newly created ones
in list_multiple_indexes()
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-19 16:20:16 +03:00
Martin Tzvetanov Grigorov
e2763471e5
Faster index::get_index IT tests
...
Use shared server for all tests in get_index.rs
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-19 15:36:25 +03:00
Martin Tzvetanov Grigorov
b2f2c5d69f
Remove an assertion of a task uid.
...
It differs for every run of the IT test suite.
Format the imports
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-19 14:44:08 +03:00
Lucas Black
1594c54e23
Provide more information about resulting documents on test case
2025-05-19 02:37:23 -07:00