Skip to content

Commit

Permalink
ci: fix a bug that can not open nginx.pid (apache#10061)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuruidong authored Aug 21, 2023
1 parent ac3992f commit 1fd2613
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ci/linux_apisix_master_luarocks_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ script() {
sudo PATH=$PATH apisix init
sudo PATH=$PATH apisix start
sudo PATH=$PATH apisix quit
for i in {1..10}
do
if [ ! -f /usr/local/apisix/logs/nginx.pid ];then
break
fi
sleep 0.3
done
sudo PATH=$PATH apisix start
sudo PATH=$PATH apisix stop

Expand Down

0 comments on commit 1fd2613

Please sign in to comment.