Ignore the result from #wait_task()

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
This commit is contained in:
Martin Tzvetanov Grigorov 2025-05-20 13:43:48 +03:00
parent 65354b414a
commit f87e46cc16
No known key found for this signature in database
GPG Key ID: 3194FD8C1AE300EF

View File

@ -15,8 +15,8 @@ async fn update_primary_key() {
index.wait_task(task.uid()).await.succeeded();
let (task, _status_code) = index.update(Some("primary")).await;
let response = index.wait_task(task.uid()).await.succeeded();
index.wait_task(task.uid()).await.succeeded();
let (response, code) = index.get().await;
assert_eq!(code, 200);