#4840 - Partial fix - Confirm task success after waiting for it.

This commit is contained in:
Mahmoud Rawas 2024-12-24 18:00:23 +11:00
parent 91c7ef8723
commit bf19f86e38
23 changed files with 79 additions and 79 deletions

View file

@ -9,7 +9,7 @@ async fn index_with_documents<'a>(server: &'a Server, documents: &Value) -> Inde
let index = server.index("test");
let(task,_status_code) =index.add_documents(documents.clone(), None).await;
index.wait_task(task.uid()).await;
index.wait_task(task.uid()).await.succeeded();
index
}