mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-24 13:40:31 +01:00
fix a flaky test
This commit is contained in:
parent
d0a85057a3
commit
7a30d98264
@ -240,6 +240,8 @@ async fn search_bad_filter() {
|
|||||||
// Also, to trigger the error message we need to effectively create the index or else it'll throw an
|
// Also, to trigger the error message we need to effectively create the index or else it'll throw an
|
||||||
// index does not exists error.
|
// index does not exists error.
|
||||||
let (_, code) = index.create(None).await;
|
let (_, code) = index.create(None).await;
|
||||||
|
server.wait_task(0).await;
|
||||||
|
|
||||||
snapshot!(code, @"202 Accepted");
|
snapshot!(code, @"202 Accepted");
|
||||||
|
|
||||||
let (response, code) = index.search_post(json!({ "filter": true })).await;
|
let (response, code) = index.search_post(json!({ "filter": true })).await;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user