Skip to content

Commit 3289c12

Browse files
authored
Update the retry count (#5051)
1 parent 69df976 commit 3289c12

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/pr-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
bash scripts/ci_install_dependency.sh
6969
7070
- name: Run test
71-
timeout-minutes: 30
71+
timeout-minutes: 40
7272
run: |
7373
cd test/srt
7474
python3 run_suite.py --suite per-commit --auto-partition-id ${{ matrix.part }} --auto-partition-size 7

python/sglang/test/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,7 @@ def run_logprob_check(self: unittest.TestCase, arg: Tuple):
10141014
class CustomTestCase(unittest.TestCase):
10151015
def _callTestMethod(self, method):
10161016
max_retry = int(
1017-
os.environ.get("SGLANG_TEST_MAX_RETRY", "2" if is_in_ci() else "0")
1017+
os.environ.get("SGLANG_TEST_MAX_RETRY", "1" if is_in_ci() else "0")
10181018
)
10191019
retry(
10201020
lambda: super(CustomTestCase, self)._callTestMethod(method),

0 commit comments

Comments
 (0)