diff --git a/.github/workflows/scripts-test.yml b/.github/workflows/scripts-test.yml index b18360857..8ac23e69d 100644 --- a/.github/workflows/scripts-test.yml +++ b/.github/workflows/scripts-test.yml @@ -82,8 +82,7 @@ jobs: - name: Check all services run: | - sudo sleep 60 - sudo make check + sudo sleep 15; ports=(10008 10009 30200 30300); for port in "${ports[@]}"; do if ! lsof -i :$port > /dev/null; then echo "The service is not started on port $port."; exit 1; else echo "The service is started normally on port $port."; fi; done; echo "All port services have been started normally." shell: bash - name: Print openIM.log