Fix draft extend ut stability with flush cache (#6979)

This commit is contained in:
Ke Bao
2025-06-09 08:09:32 +08:00
committed by GitHub
parent 0c1f03a23d
commit cc74499d51

View File

@@ -612,6 +612,9 @@ class TestEAGLEDraftExtend(CustomTestCase):
kill_process_tree(cls.process.pid)
def test_one_batch_accept_length(self):
resp = requests.get(self.base_url + "/flush_cache")
self.assertEqual(resp.status_code, 200)
prompts = [
"Hello, my name is",
"The president of the United States is",