mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
Fix bug where assert used != instead of ==
And update snapshot tests.
This commit is contained in:
parent
23b01a58df
commit
bdb17954d2
5 changed files with 26 additions and 4 deletions
|
@ -80,8 +80,8 @@ impl IndexScheduler {
|
|||
})?;
|
||||
}
|
||||
|
||||
assert!(
|
||||
old_task.enqueued_at != task.enqueued_at,
|
||||
assert_eq!(
|
||||
old_task.enqueued_at, task.enqueued_at,
|
||||
"Cannot update a task's enqueued_at time"
|
||||
);
|
||||
if old_task.started_at != task.started_at {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue