diff --git a/tools/serving_build.sh b/tools/serving_build.sh index 515144ecb28801f21d344c345fa957d3f8452c6f..ee70cfc0b9e61fda0436eb84ed13200287175680 100644 --- a/tools/serving_build.sh +++ b/tools/serving_build.sh @@ -702,6 +702,7 @@ function python_test_pipeline(){ # start paddle serving service (brpc) sh get_data.sh python -m paddle_serving_server.serve --model imdb_cnn_model --port 9292 --workdir test9292 &> cnn.log & + sleep 5 python -m paddle_serving_server.serve --model imdb_bow_model --port 9393 --workdir test9393 &> bow.log & sleep 5 @@ -773,6 +774,7 @@ EOF # start paddle serving service (grpc) python -m paddle_serving_server.serve --model imdb_cnn_model --port 9292 --use_multilang --workdir test9292 &> cnn.log & + sleep 5 python -m paddle_serving_server.serve --model imdb_bow_model --port 9393 --use_multilang --workdir test9393 &> bow.log & sleep 5 python test_pipeline_server.py > /dev/null &