Fix CI tests (#4853)
This commit is contained in:
@@ -2,7 +2,7 @@ import json
|
||||
import unittest
|
||||
from unittest.mock import MagicMock, patch
|
||||
|
||||
from sglang.srt.server_args import PortArgs, ServerArgs, prepare_server_args
|
||||
from sglang.srt.server_args import PortArgs, prepare_server_args
|
||||
from sglang.test.test_utils import CustomTestCase
|
||||
|
||||
|
||||
@@ -75,7 +75,8 @@ class TestPortArgs(unittest.TestCase):
|
||||
|
||||
port_args = PortArgs.init_new(server_args, dp_rank=2)
|
||||
|
||||
self.assertTrue(port_args.scheduler_input_ipc_name.endswith(":25006"))
|
||||
print(f"{port_args=}")
|
||||
self.assertTrue(port_args.scheduler_input_ipc_name.endswith(":25007"))
|
||||
|
||||
self.assertTrue(port_args.tokenizer_ipc_name.startswith("tcp://192.168.1.1:"))
|
||||
self.assertTrue(port_args.detokenizer_ipc_name.startswith("tcp://192.168.1.1:"))
|
||||
|
||||
Reference in New Issue
Block a user