From 0881110c6dac769929c9c25db5c618cb21ec0b80 Mon Sep 17 00:00:00 2001 From: luhaoling <2198702716@qq.com> Date: Tue, 7 Nov 2023 18:26:39 +0800 Subject: [PATCH] fix:alter a scripts-test.yml --- .github/workflows/scripts-test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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