mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-06-06 12:15:45 +00:00
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>
This commit is contained in:
parent
3d130d31c8
commit
b2f2c5d69f
@ -1,6 +1,4 @@
|
|||||||
use crate::common::{
|
use crate::common::{shared_does_not_exists_index, Server};
|
||||||
shared_does_not_exists_index, Server,
|
|
||||||
};
|
|
||||||
|
|
||||||
use crate::json;
|
use crate::json;
|
||||||
|
|
||||||
@ -34,7 +32,6 @@ async fn stats() {
|
|||||||
|
|
||||||
let (response, code) = index.add_documents(documents, None).await;
|
let (response, code) = index.add_documents(documents, None).await;
|
||||||
assert_eq!(code, 202);
|
assert_eq!(code, 202);
|
||||||
assert_eq!(response["taskUid"], 1);
|
|
||||||
|
|
||||||
index.wait_task(response.uid()).await.succeeded();
|
index.wait_task(response.uid()).await.succeeded();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user