mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
Update tests to fit to the new requirements
This commit is contained in:
parent
d6dd234914
commit
e2c204cf86
5 changed files with 556 additions and 271 deletions
|
@ -110,7 +110,7 @@ impl Index<'_> {
|
|||
let url = format!("/tasks/{}", update_id);
|
||||
for _ in 0..10 {
|
||||
let (response, status_code) = self.service.get(&url).await;
|
||||
assert_eq!(status_code, 200, "response: {}", response);
|
||||
assert_eq!(200, status_code, "response: {}", response);
|
||||
|
||||
if response["status"] == "succeeded" || response["status"] == "failed" {
|
||||
return response;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue