Skip to content
Snippets Groups Projects
Commit 8ecb1701 authored by Craig Tiller's avatar Craig Tiller
Browse files

Fix that race better

parent 2f3fa9ac
No related branches found
No related tags found
No related merge requests found
......@@ -233,11 +233,11 @@ static void RunServer() {
}
int main(int argc, char **argv) {
signal(SIGINT, sigint_handler);
grpc_init();
ParseCommandLineFlags(&argc, &argv, true);
signal(SIGINT, sigint_handler);
RunServer();
grpc_shutdown();
......
......@@ -185,11 +185,11 @@ static void RunServer() {
}
int main(int argc, char** argv) {
signal(SIGINT, sigint_handler);
grpc_init();
ParseCommandLineFlags(&argc, &argv, true);
signal(SIGINT, sigint_handler);
GPR_ASSERT(FLAGS_port != 0);
RunServer();
......
......@@ -19,9 +19,6 @@ SERVER_PID=$!
bins/$config/qps_client -driver_port 10001 &
CLIENT_PID=$!
# wait for startup
sleep 2
export QPS_SERVERS=localhost:10000
export QPS_CLIENTS=localhost:10001
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment