#4840 - Partial fix - Confirm task success after waiting for it - continued, few missing cases - batch 2

This commit is contained in:
Mahmoud Rawas 2024-12-24 18:53:38 +11:00
parent 15062e7dba
commit d7cb319217
14 changed files with 188 additions and 188 deletions

View file

@ -56,7 +56,7 @@ async fn perform_snapshot() {
let (task, code) = server.index("test1").create(Some("prim")).await;
meili_snap::snapshot!(code, @"202 Accepted");
index.wait_task(task.uid()).await;
index.wait_task(task.uid()).await.succeeded();
// wait for the _next task_ to process, aka the snapshot that should be enqueued at some point