Skip to content

Commit

Permalink
fix cli test
Browse files Browse the repository at this point in the history
  • Loading branch information
bzp2010 committed Dec 6, 2023
1 parent bd8af2f commit 7cf568b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/cli/test_cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ fi

bin/apisix quit

sleep 0.5
sleep 2

if ps -ef | grep "worker process is shutting down" | grep -v "grep"; then
echo "all workers should exited"
Expand All @@ -200,7 +200,7 @@ fi

bin/apisix reload

sleep 0.5
sleep 3

if ps -ef | grep "worker process is shutting down" | grep -v "grep"; then
echo "old workers should exited"
Expand Down

0 comments on commit 7cf568b

Please sign in to comment.