Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Serve] Remove Ray Cluster dependency in test_deployment_state #39952

Merged
merged 4 commits into from
Sep 30, 2023
Merged
Changes from 1 commit
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
Next Next commit
[Serve] Fix deployment state
Signed-off-by: Sihan Wang <[email protected]>
  • Loading branch information
sihanwang41 committed Sep 28, 2023
commit 17080813a374dd4b69911948f48de1386126b299
3 changes: 1 addition & 2 deletions python/ray/serve/tests/test_deployment_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
ReplicaStateContainer,
VersionedReplica,
)
from ray.serve._private.storage.kv_store import RayInternalKVStore
from ray.serve._private.utils import get_random_letters
from ray.serve.tests.utils import MockKVStore, MockTimer

Expand Down Expand Up @@ -2471,7 +2470,7 @@ def mock_deployment_state_manager(request) -> Tuple[DeploymentStateManager, Mock
), patch(
"ray.serve._private.long_poll.LongPollHost"
) as mock_long_poll:
kv_store = RayInternalKVStore("test")
kv_store = MockKVStore()
cluster_node_info_cache = MockClusterNodeInfoCache()
mock_create_deployment_scheduler.return_value = MockDeploymentScheduler(
cluster_node_info_cache
Expand Down
Loading