Skip to content

Commit 4f78bf2

Browse files
committed
wait longer for server
1 parent 8b1272b commit 4f78bf2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/cpp/llamalib_tests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,7 @@ void run_all_tests(LLMService *llm_service, bool embedding)
10841084
std::cout << std::endl << "-------- LLM remote client --------" << std::endl;
10851085
LLMClient llm_remote_client("http://localhost", 8080);
10861086
llm_service->start_server("", 8080);
1087-
std::this_thread::sleep_for(std::chrono::milliseconds(500));
1087+
std::this_thread::sleep_for(std::chrono::seconds(1));
10881088
if (embedding) run_LLM_embedding_tests(&llm_remote_client);
10891089
else run_LLMLocal_tests(&llm_remote_client);
10901090
llm_service->stop_server();
@@ -1095,7 +1095,7 @@ void run_all_tests(LLMService *llm_service, bool embedding)
10951095
LLMClient llm_remote_client_SSL("https://localhost", 8080);
10961096
set_SSL(llm_service, &llm_remote_client_SSL);
10971097
llm_service->start_server("", 8080);
1098-
std::this_thread::sleep_for(std::chrono::milliseconds(500));
1098+
std::this_thread::sleep_for(std::chrono::seconds(1));
10991099
if (embedding) run_LLM_embedding_tests(&llm_remote_client_SSL);
11001100
else run_LLMLocal_tests(&llm_remote_client_SSL);
11011101
llm_service->stop_server();

0 commit comments

Comments
 (0)