소스 검색

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);