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:
Martin Tzvetanov Grigorov 2025-05-19 14:44:08 +03:00
parent 3d130d31c8
commit b2f2c5d69f
No known key found for this signature in database
GPG Key ID: 3194FD8C1AE300EF

View File

@ -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();