mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
Introduce the task cancelation task type
This commit is contained in:
parent
f177c97671
commit
1ca9a67c49
7 changed files with 131 additions and 41 deletions
|
@ -23,7 +23,7 @@ async fn import_dump_v1() {
|
|||
};
|
||||
let error = Server::new_with_options(options)
|
||||
.await
|
||||
.map(|_| ())
|
||||
.map(drop)
|
||||
.unwrap_err();
|
||||
|
||||
assert_eq!(error.to_string(), "The version 1 of the dumps is not supported anymore. You can re-export your dump from a version between 0.21 and 0.24, or start fresh from a version 0.25 onwards.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue