TSG-23843 请sce提供健康状态查询的HTTP服务
This commit is contained in:
15
common/test/gtest_http_healthcheck.cpp
Normal file
15
common/test/gtest_http_healthcheck.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "http_healthcheck.h"
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
http_healthcheck_server_start("./conf/http_healthcheck.conf");
|
||||
|
||||
sleep(30);
|
||||
|
||||
http_healthcheck_server_stop();
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user