mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-22 18:17:39 +08:00
add missing shared servers
This commit is contained in:
parent
af38f46621
commit
c0912aa685
@ -152,7 +152,7 @@ async fn create_index_with_invalid_primary_key() {
|
|||||||
|
|
||||||
#[actix_rt::test]
|
#[actix_rt::test]
|
||||||
async fn test_create_multiple_indexes() {
|
async fn test_create_multiple_indexes() {
|
||||||
let server = Server::new().await;
|
let server = Server::new_shared();
|
||||||
let index1 = server.unique_index();
|
let index1 = server.unique_index();
|
||||||
let index2 = server.unique_index();
|
let index2 = server.unique_index();
|
||||||
let index3 = server.unique_index();
|
let index3 = server.unique_index();
|
||||||
@ -174,7 +174,7 @@ async fn test_create_multiple_indexes() {
|
|||||||
|
|
||||||
#[actix_rt::test]
|
#[actix_rt::test]
|
||||||
async fn error_create_existing_index() {
|
async fn error_create_existing_index() {
|
||||||
let server = Server::new().await;
|
let server = Server::new_shared();
|
||||||
let index = server.unique_index();
|
let index = server.unique_index();
|
||||||
let (_, code) = index.create(Some("primary")).await;
|
let (_, code) = index.create(Some("primary")).await;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user