From e49d3a1a986f106b75ff163e4c2e30875bf6b0d6 Mon Sep 17 00:00:00 2001 From: ByronHsu Date: Sun, 8 Dec 2024 01:27:06 +0000 Subject: [PATCH] ensure order --- rust/py_test/test_launch_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/py_test/test_launch_server.py b/rust/py_test/test_launch_server.py index 68945d8fb52..2f3a1feaccf 100644 --- a/rust/py_test/test_launch_server.py +++ b/rust/py_test/test_launch_server.py @@ -118,7 +118,7 @@ def tearDownClass(cls): for process in cls.other_process: kill_process_tree(process.pid) - def test_mmlu(self): + def test_1_mmlu(self): # DP size = 2 TestLaunchServer.process = popen_launch_router( self.model, @@ -144,7 +144,7 @@ def test_mmlu(self): msg = f"MMLU test {'passed' if passed else 'failed'} with score {score:.3f} (threshold: {THRESHOLD})" self.assertGreaterEqual(score, THRESHOLD, msg) - def test_add_and_remove_worker(self): + def test_2_add_and_remove_worker(self): # DP size = 1 TestLaunchServer.process = popen_launch_router( self.model,