Introduce a canceledBy filter for the tests

This commit is contained in:
Kerollmops
2023-01-18 15:50:05 +01:00
parent 7322f4e78e
commit 182eea1f17
3 changed files with 16 additions and 7 deletions

View File

@ -1077,7 +1077,7 @@ async fn batch_several_documents_addition() {
futures::future::join_all(waiter).await;
index.wait_task(9).await;
let (response, _code) = index.filtered_tasks(&[], &["failed"]).await;
let (response, _code) = index.filtered_tasks(&[], &["failed"], &[]).await;
// Check if only the 6th task failed
println!("{}", &response);