Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions sgl-router/py_test/test_launch_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def test_2_add_and_remove_worker(self):
)
self.other_process.append(worker_process)

# 2. use /add_worker api to add it the the router. It will be used by router after it is healthy
# 2. use /add_worker api to add it to the router. It will be used by the router after it is healthy
with requests.Session() as session:
response = session.post(f"{self.base_url}/add_worker?url={worker_url}")
print(f"status code: {response.status_code}, response: {response.text}")
Expand Down Expand Up @@ -304,7 +304,7 @@ def test_3_lazy_fault_tolerance(self):
)
self.other_process.append(worker_process)

# 2. use /add_worker api to add it the the router. It will be used by router after it is healthy
# 2. use /add_worker api to add it to the router. It will be used by the router after it is healthy
with requests.Session() as session:
response = session.post(f"{self.base_url}/add_worker?url={worker_url}")
print(f"status code: {response.status_code}, response: {response.text}")
Expand Down Expand Up @@ -340,7 +340,7 @@ def kill_worker():

def test_4_payload_size(self):
print("Running test_4_payload_size...")
# Start router with 3MB limit
# Start router with 1MB limit
self.process = popen_launch_router(
self.model,
self.base_url,
Expand Down Expand Up @@ -398,7 +398,7 @@ def test_5_api_key(self):
api_key="correct_api_key",
)

# # Test case 1: request without api key should fail
# Test case 1: request without api key should fail
with requests.Session() as session:
response = session.post(
f"{self.base_url}/generate",
Expand Down
Loading