mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 23:04:26 +01:00
fix the flaky test
This commit is contained in:
parent
056b2c387d
commit
5bea1092fb
@ -129,7 +129,7 @@ async fn perform_on_demand_snapshot() {
|
|||||||
"enqueuedAt": "[date]"
|
"enqueuedAt": "[date]"
|
||||||
}
|
}
|
||||||
"###);
|
"###);
|
||||||
let task = index.wait_task(4).await;
|
let task = index.wait_task(task.uid()).await;
|
||||||
snapshot!(json_string!(task, { ".enqueuedAt" => "[date]", ".startedAt" => "[date]", ".finishedAt" => "[date]", ".duration" => "[duration]" }), @r###"
|
snapshot!(json_string!(task, { ".enqueuedAt" => "[date]", ".startedAt" => "[date]", ".finishedAt" => "[date]", ".duration" => "[duration]" }), @r###"
|
||||||
{
|
{
|
||||||
"uid": 4,
|
"uid": 4,
|
||||||
|
Loading…
Reference in New Issue
Block a user