Explorar o código

Increase test timeout for server tests

bel %!s(int64=10) %!d(string=hai) anos
pai
achega
03e65fa601
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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);