Sfoglia il codice sorgente

Increase test timeout for server tests

bel 10 anni fa
parent
commit
03e65fa601
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      test/public_server.c

+ 2 - 0
test/public_server.c

@@ -1120,9 +1120,11 @@ Suite *make_public_server_suite(void)
 	suite_add_tcase(suite, startthreads);
 
 	tcase_add_test(startstophttp, test_mg_start_stop_http_server);
+	tcase_set_timeout(startstophttp, 10);
 	suite_add_tcase(suite, startstophttp);
 
 	tcase_add_test(startstophttps, test_mg_start_stop_https_server);
+    tcase_set_timeout(startstophttps, 10);
 	suite_add_tcase(suite, startstophttps);
 
 	tcase_add_test(serverrequests, test_request_handlers);