Merged three native APIs into one: get_server_info (#2152)

This commit is contained in:
Henry Hyeonmok Ko
2024-11-24 01:37:58 -08:00
committed by GitHub
parent 84a1698d67
commit dbe1729395
10 changed files with 81 additions and 126 deletions

View File

@@ -63,12 +63,13 @@ class TestDataParallelism(unittest.TestCase):
assert response.status_code == 200
def test_get_memory_pool_size(self):
response = requests.get(self.base_url + "/get_memory_pool_size")
# use `get_server_info` instead since `get_memory_pool_size` is merged into `get_server_info`
response = requests.get(self.base_url + "/get_server_info")
assert response.status_code == 200
time.sleep(5)
response = requests.get(self.base_url + "/get_memory_pool_size")
response = requests.get(self.base_url + "/get_server_info")
assert response.status_code == 200