Fix draft extend ut stability with flush cache (#6979)
This commit is contained in:
@@ -612,6 +612,9 @@ class TestEAGLEDraftExtend(CustomTestCase):
|
|||||||
kill_process_tree(cls.process.pid)
|
kill_process_tree(cls.process.pid)
|
||||||
|
|
||||||
def test_one_batch_accept_length(self):
|
def test_one_batch_accept_length(self):
|
||||||
|
resp = requests.get(self.base_url + "/flush_cache")
|
||||||
|
self.assertEqual(resp.status_code, 200)
|
||||||
|
|
||||||
prompts = [
|
prompts = [
|
||||||
"Hello, my name is",
|
"Hello, my name is",
|
||||||
"The president of the United States is",
|
"The president of the United States is",
|
||||||
|
|||||||
Reference in New Issue
Block a user