Skip to content

Commit 42ab790

Browse files
committed
add timeout limit
1 parent 426dc0f commit 42ab790

File tree

7 files changed

+8
-2
lines changed

7 files changed

+8
-2
lines changed

.github/workflows/_accuracy_test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ on:
3131
jobs:
3232
accuracy_tests:
3333
runs-on: [self-hosted, GPU-h20-1Cards]
34+
timeout-minutes: 60
3435
steps:
3536
- name: Code Prepare
3637
shell: bash

.github/workflows/_base_test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ on:
3131
jobs:
3232
base_tests:
3333
runs-on: [self-hosted, GPU-h20-1Cards]
34+
timeout-minutes: 60
3435
steps:
3536
- name: Code Prepare
3637
shell: bash

.github/workflows/_build_linux.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ on:
5555
jobs:
5656
fd-build:
5757
runs-on: [self-hosted, GPU-Build]
58+
timeout-minutes: 240
5859
outputs:
5960
wheel_path: ${{ steps.set_output.outputs.wheel_path }}
6061
steps:

.github/workflows/_pre_ce_test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ on:
3030
jobs:
3131
run_ce_cases:
3232
runs-on: [self-hosted, PRE_CE_RUN_2Card]
33+
timeout-minutes: 60
3334
steps:
3435
- name: Print current runner name
3536
run: |

.github/workflows/_stable_test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ on:
3131
jobs:
3232
stable_tests:
3333
runs-on: [self-hosted, GPU-h1z1-2Cards]
34+
timeout-minutes: 60
3435
steps:
3536
- name: Code Prepare
3637
shell: bash
@@ -62,7 +63,7 @@ jobs:
6263
git config --global user.email "fastdeploy_ci@example.com"
6364
git log -n 3 --oneline
6465
65-
- name: Run FastDeploy Base Tests
66+
- name: Run FastDeploy Stable Tests
6667
shell: bash
6768
env:
6869
docker_image: ${{ inputs.DOCKER_IMAGE }}

.github/workflows/_unit_test_coverage.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ on:
3131
jobs:
3232
run_tests_with_coverage:
3333
runs-on: [self-hosted, GPU-h1z1-2Cards]
34+
timeout-minutes: 60
3435
outputs:
3536
diff_cov_file_url: ${{ steps.cov_upload.outputs.diff_cov_file_url }}
3637
unittest_failed_url: ${{ steps.cov_upload.outputs.unittest_failed_url }}

tests/ce/stable_cases/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ HOST="0.0.0.0"
1111
PORT="${FD_API_PORT}" # 这里需要配合启动脚本那个URL PORT
1212
BASE_URL="http://$HOST:$PORT"
1313

14-
TOTAL_ROUNDS=100
14+
TOTAL_ROUNDS=30
1515
CHAT_REQUESTS_PER_ROUND=5
1616
export CUDA_VISIBLE_DEVICES=0,1
1717
MAX_MEMORY_MB=10240 # 10GB

0 commit comments

Comments
 (0)