Use CustomTestCase for TestSessionControl to enable CI retry (#21830)

This commit is contained in:
Liangsheng Yin
2026-04-01 04:26:11 -07:00
committed by GitHub
parent 1aabe44b64
commit ac039bd04e
@@ -31,7 +31,7 @@ def remove_prefix(text: str, prefix: str) -> str:
return text[len(prefix) :] if text.startswith(prefix) else text
class TestSessionControl(unittest.TestCase):
class TestSessionControl(CustomTestCase):
@classmethod
def setUpClass(cls):
cls.model = DEFAULT_SMALL_MODEL_NAME_FOR_TEST
@@ -43,6 +43,8 @@ class TestSessionControl(unittest.TestCase):
other_args=[
"--attention-backend",
"triton",
"--disable-cuda-graph",
"--disable-piecewise-cuda-graph",
],
)