mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
Merge branch 'main' of github.com:meilisearch/meilisearch into chore/update-get-index-test
This commit is contained in:
commit
a4ed36f0cc
408 changed files with 17390 additions and 12655 deletions
|
@ -12,7 +12,7 @@ async fn create_and_get_index() {
|
|||
|
||||
assert_eq!(code, 202);
|
||||
|
||||
index.wait_task(response.uid()).await;
|
||||
index.wait_task(response.uid()).await.succeeded();
|
||||
|
||||
let (response, code) = index.get().await;
|
||||
|
||||
|
@ -79,8 +79,8 @@ async fn get_and_paginate_indexes() {
|
|||
let server = Server::new().await;
|
||||
const NB_INDEXES: usize = 50;
|
||||
for i in 0..NB_INDEXES {
|
||||
server.index(&format!("test_{i:02}")).create(None).await;
|
||||
server.index(&format!("test_{i:02}")).wait_task(i as u64).await;
|
||||
server.index(format!("test_{i:02}")).create(None).await;
|
||||
server.index(format!("test_{i:02}")).wait_task(i as u64).await;
|
||||
}
|
||||
|
||||
// basic
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue