fix(ci): update est_time for 57 tests based on runtime analysis (#21896)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
2ef12073f4
commit
875a615993
@@ -9,7 +9,7 @@ from pathlib import Path
|
||||
from sglang.srt.utils.log_utils import create_log_targets, log_json
|
||||
from sglang.test.ci.ci_register import register_cpu_ci
|
||||
|
||||
register_cpu_ci(est_time=1, suite="stage-a-test-cpu")
|
||||
register_cpu_ci(est_time=4, suite="stage-a-test-cpu")
|
||||
|
||||
|
||||
class TestLogUtils(unittest.TestCase):
|
||||
|
||||
@@ -6,7 +6,7 @@ from sglang.srt.server_args import PortArgs, ServerArgs
|
||||
from sglang.srt.utils.network import NetworkAddress
|
||||
from sglang.test.ci.ci_register import register_cpu_ci
|
||||
|
||||
register_cpu_ci(est_time=1, suite="stage-a-test-cpu")
|
||||
register_cpu_ci(est_time=7, suite="stage-a-test-cpu")
|
||||
|
||||
# Mock get_device() so ServerArgs tests run on CPU-only CI runners
|
||||
_mock_device = patch("sglang.srt.server_args.get_device", return_value="cuda")
|
||||
|
||||
@@ -15,7 +15,7 @@ from sglang.test.ci.ci_register import register_cpu_ci
|
||||
from sglang.test.test_utils import CustomTestCase
|
||||
from sglang.utils import normalize_base_url, release_port, reserve_port
|
||||
|
||||
register_cpu_ci(est_time=1, suite="stage-a-test-cpu")
|
||||
register_cpu_ci(est_time=7, suite="stage-a-test-cpu")
|
||||
|
||||
|
||||
class TestTryBindSocket(CustomTestCase):
|
||||
|
||||
Reference in New Issue
Block a user