meilisearch / meilisearch-rust

Rust wrapper for the Meilisearch API.

Home Page:https://www.meilisearch.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flacky test_list_all_indexes_raw test

irevoire opened this issue · comments

commented

Description
The following is a flacky test:

#[meilisearch_test]
async fn test_list_all_indexes_raw(client: Client, index: Index) {
let all_indexes_raw = client.list_all_indexes_raw().await.unwrap();
assert!(all_indexes_raw.len() > 0);
assert!(all_indexes_raw.iter().any(|idx| idx.uid == *index.uid));
}

See the following github-action: https://github.com/meilisearch/meilisearch-rust/runs/6304373859?check_suite_focus=true

Not sure when it was introduced

Expected behavior
Always succeed

Current behavior
Regularely fail.

Any idea @irevoire ?

Fixed with #315