ci: unify PR test suite naming (#21187)
This commit is contained in:
@@ -4,7 +4,7 @@ from typing import Any, Callable, List, Tuple, Type
|
||||
from sglang.test.ci.ci_register import register_amd_ci
|
||||
from sglang.utils import TypeBasedDispatcher
|
||||
|
||||
register_amd_ci(est_time=10, suite="stage-b-test-small-1-gpu-amd")
|
||||
register_amd_ci(est_time=10, suite="stage-b-test-1-gpu-small-amd")
|
||||
|
||||
|
||||
class TypeBasedDispatcherList:
|
||||
|
||||
@@ -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-cpu-only")
|
||||
register_cpu_ci(est_time=1, 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-cpu-only")
|
||||
register_cpu_ci(est_time=1, 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-cpu-only")
|
||||
register_cpu_ci(est_time=1, suite="stage-a-test-cpu")
|
||||
|
||||
|
||||
class TestTryBindSocket(CustomTestCase):
|
||||
|
||||
@@ -11,7 +11,7 @@ from sglang.srt.managers.io_struct import SamplingParams
|
||||
from sglang.test.ci.ci_register import register_amd_ci
|
||||
from sglang.utils import TypeBasedDispatcher
|
||||
|
||||
register_amd_ci(est_time=10, suite="stage-b-test-small-1-gpu-amd")
|
||||
register_amd_ci(est_time=10, suite="stage-b-test-1-gpu-small-amd")
|
||||
|
||||
|
||||
class TestTypeBasedDispatcher(unittest.TestCase):
|
||||
|
||||
Reference in New Issue
Block a user