From c0912aa6856f16b711df116d14f88e921e945faf Mon Sep 17 00:00:00 2001 From: Timon Jurschitsch Date: Mon, 7 Oct 2024 16:29:47 +0200 Subject: [PATCH] add missing shared servers --- meilisearch/tests/index/create_index.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meilisearch/tests/index/create_index.rs b/meilisearch/tests/index/create_index.rs index 47a2f0f4a..110690638 100644 --- a/meilisearch/tests/index/create_index.rs +++ b/meilisearch/tests/index/create_index.rs @@ -152,7 +152,7 @@ async fn create_index_with_invalid_primary_key() { #[actix_rt::test] async fn test_create_multiple_indexes() { - let server = Server::new().await; + let server = Server::new_shared(); let index1 = server.unique_index(); let index2 = server.unique_index(); let index3 = server.unique_index(); @@ -174,7 +174,7 @@ async fn test_create_multiple_indexes() { #[actix_rt::test] async fn error_create_existing_index() { - let server = Server::new().await; + let server = Server::new_shared(); let index = server.unique_index(); let (_, code) = index.create(Some("primary")).await;