瀏覽代碼

Increase test timeout for server tests

bel 10 年之前
父節點
當前提交
03e65fa601
共有 1 個文件被更改,包括 2 次插入0 次删除
  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);