Skip to content

Commit

Permalink
Fix utest fail, retry 3 times. v5.14.2
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Feb 23, 2024
1 parent 321ffc4 commit bfa9a4a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:
echo "Run media test with retry" &&
bash scripts/tools/secret.sh --output test/.env &&
./scripts/tools/failed-retry.sh 1 ./test/srs-stack.test -test.timeout=1h -test.v -endpoint http://localhost:2022 \
./scripts/tools/failed-retry.sh 3 ./test/srs-stack.test -test.timeout=1h -test.v -endpoint http://localhost:2022 \
-srs-log=true -wait-ready=true -init-password=false -init-self-signed-cert=false \
-check-api-secret=true -test.run WithStream
ret=$?; echo "Test result: $ret"
Expand Down Expand Up @@ -215,7 +215,7 @@ jobs:
echo "Run media test with retry" &&
bash scripts/tools/secret.sh --output test/.env &&
./scripts/tools/failed-retry.sh 1 ./test/srs-stack.test -test.timeout=1h -test.v -endpoint http://localhost:2022 \
./scripts/tools/failed-retry.sh 3 ./test/srs-stack.test -test.timeout=1h -test.v -endpoint http://localhost:2022 \
-srs-log=true -wait-ready=true -init-password=false -init-self-signed-cert=false \
-check-api-secret=true -test.run WithStream
ret=$?; echo "Test result: $ret"
Expand Down Expand Up @@ -305,7 +305,7 @@ jobs:
echo "Run media test with retry" &&
bash scripts/tools/secret.sh --output test/.env &&
./scripts/tools/failed-retry.sh 1 ./test/srs-stack.test -test.timeout=1h -test.v -endpoint http://localhost:2022 \
./scripts/tools/failed-retry.sh 3 ./test/srs-stack.test -test.timeout=1h -test.v -endpoint http://localhost:2022 \
-srs-log=true -wait-ready=true -init-password=false -init-self-signed-cert=false \
-check-api-secret=true -test.run WithStream
ret=$?; echo "Test result: $ret"
Expand Down Expand Up @@ -394,7 +394,7 @@ jobs:
echo "Run media test with retry" &&
bash scripts/tools/secret.sh --output test/.env &&
./scripts/tools/failed-retry.sh 1 ./test/srs-stack.test -test.timeout=1h -test.v -endpoint http://localhost:2022 \
./scripts/tools/failed-retry.sh 3 ./test/srs-stack.test -test.timeout=1h -test.v -endpoint http://localhost:2022 \
-srs-log=true -wait-ready=true -init-password=false -init-self-signed-cert=false \
-check-api-secret=true -test.run WithStream
ret=$?; echo "Test result: $ret"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-online.yml
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@ jobs:
key: ${{ secrets.DIGITALOCEAN_SSHKEY }}
port: 22
envs: SRS_TAG,SRS_DOMAIN
timeout: 1800s
command_timeout: 1800s
timeout: 7200s
command_timeout: 7200s
script: |
# We will handle the error by ourselves.
set +e
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
echo "Run media test with retry" &&
bash scripts/tools/secret.sh --output test/.env &&
./scripts/tools/failed-retry.sh 1 ./test/srs-stack.test -test.timeout=1h -test.v -endpoint http://localhost:2022 \
./scripts/tools/failed-retry.sh 3 ./test/srs-stack.test -test.timeout=1h -test.v -endpoint http://localhost:2022 \
-srs-log=true -wait-ready=true -init-password=false -init-self-signed-cert=false \
-check-api-secret=true -test.run WithStream
ret=$?; echo "Test result: $ret"
Expand Down Expand Up @@ -280,7 +280,7 @@ jobs:
echo "Run media test with retry" &&
bash scripts/tools/secret.sh --output test/.env &&
./scripts/tools/failed-retry.sh 1 ./test/srs-stack.test -test.timeout=1h -test.v -endpoint http://srs.stack.local:80 \
./scripts/tools/failed-retry.sh 3 ./test/srs-stack.test -test.timeout=1h -test.v -endpoint http://srs.stack.local:80 \
-srs-log=true -wait-ready=true -init-password=false -init-self-signed-cert=false \
-check-api-secret=true -test.run WithStream
ret=$?; echo "Test result: $ret"
Expand Down Expand Up @@ -445,7 +445,7 @@ jobs:
echo "Run media test with retry" &&
bash scripts/tools/secret.sh --output test/.env &&
./scripts/tools/failed-retry.sh 1 ./test/srs-stack.test -test.timeout=1h -test.v -endpoint http://srs.stack.local:80 \
./scripts/tools/failed-retry.sh 3 ./test/srs-stack.test -test.timeout=1h -test.v -endpoint http://srs.stack.local:80 \
-srs-log=true -wait-ready=true -init-password=false -init-self-signed-cert=false \
-check-api-secret=true -test.run WithStream
ret=$?; echo "Test result: $ret"
Expand Down

0 comments on commit bfa9a4a

Please sign in to comment.