mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 08:41:00 +00:00
Update the dump test to check for the dumpUid dumpCreation task details
This commit is contained in:
@ -487,10 +487,8 @@ impl IndexScheduler {
|
||||
assert_ne!(status, Status::Succeeded);
|
||||
}
|
||||
}
|
||||
Details::Dump { dump_uid: d1 } => {
|
||||
assert!(
|
||||
matches!(&kind, KindWithContent::DumpCreation { dump_uid: d2, keys: _, instance_uid: _ } if &d1 == d2 )
|
||||
);
|
||||
Details::Dump { dump_uid: _ } => {
|
||||
assert_eq!(kind.as_kind(), Kind::DumpCreation);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user