Add retry for flaky tests in CI (#4755)
This commit is contained in:
@@ -15,6 +15,7 @@ from sglang.test.test_utils import (
|
||||
DEFAULT_SMALL_MODEL_NAME_FOR_TEST,
|
||||
DEFAULT_TIMEOUT_FOR_SERVER_LAUNCH,
|
||||
DEFAULT_URL_FOR_TEST,
|
||||
CustomTestCase,
|
||||
popen_launch_server,
|
||||
)
|
||||
|
||||
@@ -42,7 +43,7 @@ def setup_class(cls, backend: str, disable_overlap: bool):
|
||||
)
|
||||
|
||||
|
||||
class TestEBNFConstrained(unittest.TestCase):
|
||||
class TestEBNFConstrained(CustomTestCase):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
setup_class(cls, "xgrammar", disable_overlap=False)
|
||||
|
||||
Reference in New Issue
Block a user