MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Methodtest_health_check_with_asyncio
Test check() properly uses asyncio for ping.
tests/v1/test_health_monitor_fallback_recovery.py:439
Methodtest_health_delegates_to_executor
Test health check delegates to cluster executor.
tests/v1/cache_controller/test_registration_controller.py:590
Functiontest_health_loop_evicts_stale_instance
()
tests/v1/mp_coordinator/test_integration.py:78
Methodtest_health_msg_serialization
Test HealthMsg encode/decode.
tests/v1/cache_controller/test_messages.py:416
Methodtest_health_propagation
Top-level is_healthy should be True when all children are healthy.
tests/v1/distributed/test_report_status.py:213
Methodtest_health_ret_msg_serialization
Test HealthRetMsg encode/decode.
tests/v1/cache_controller/test_messages.py:548
Methodtest_health_state_transitions
(self, monitor)
tests/v1/test_health_monitor.py:166
Methodtest_health_worker_msg_serialization
Test HealthWorkerMsg encode/decode.
tests/v1/cache_controller/test_messages.py:308
Methodtest_health_worker_ret_msg
Test HealthWorkerRetMsg encode/decode.
tests/v1/cache_controller/test_messages.py:702
Methodtest_healthcheck_no_engine
503 when engine is not set.
tests/v1/multiprocess/test_http_server.py:262
Methodtest_healthcheck_with_engine
200 when engine is available.
tests/v1/multiprocess/test_http_server.py:267
Methodtest_healthy
(self)
tests/cli/test_describe.py:113
Methodtest_healthy_when_all_components_healthy
Test that manager is healthy when all components are healthy.
tests/v1/test_manager.py:476
Functiontest_healthz
()
tests/v1/mp_coordinator/test_api.py:156
Methodtest_heartbeat_existing_worker
Test heartbeat updates timestamp for existing worker.
tests/v1/cache_controller/test_registration_controller.py:406
Functiontest_heartbeat_first_ping_runs_callback_before_setting_event
Real HeartbeatThread: started with the health event cleared, the first successful ping invokes the recover callback while the event is still c
tests/v1/test_vllm_mp_adapter.py:435
Methodtest_heartbeat_handler
Test HeartbeatHandler functionality
tests/tools/test_controller_zmq_benchmark.py:157
Functiontest_heartbeat_known_and_unknown
()
tests/v1/mp_coordinator/test_api.py:75
Functiontest_heartbeat_lazy_start_wires_callback_before_start
The lazy create path starts the heartbeat healthy (no pessimistic clear) and wires the recover callback before ``start()``; the first store is
tests/v1/test_vllm_mp_adapter.py:409
Methodtest_heartbeat_msg_serialization
Test HeartbeatMsg encode/decode.
tests/v1/cache_controller/test_messages.py:180
Methodtest_heartbeat_unregistered_worker
Test heartbeat triggers re-registration for unregistered worker.
tests/v1/cache_controller/test_registration_controller.py:447
Methodtest_heartbeat_update_concurrent
Test concurrent heartbeat updates.
tests/v1/cache_controller/test_registry_tree.py:519
Methodtest_help
(self, cmd: QueryCommand)
tests/cli/commands/test_query.py:48
Methodtest_help
(self, cmd)
tests/cli/commands/test_coordinator.py:33
Methodtest_help
(self, cmd)
tests/cli/commands/test_server.py:33
Methodtest_help
(self, cmd: BenchCommand)
tests/cli/commands/bench/test_server_bench.py:64
Methodtest_help_nonempty
(self)
tests/v1/distributed/test_hfbucket_l2_adapter.py:532
Methodtest_help_nonempty
(self)
tests/v1/distributed/test_s3_l2_adapter.py:745
Methodtest_help_returns_string
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:936
Methodtest_help_returns_string
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:1117
Methodtest_help_returns_string
help() should return a non-empty string.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:320
Functiontest_hex_hash_to_int16_accepts_hex_and_non_hex
()
lmcache/integration/vllm/tests/test_mm_hash_utils.py:21
Functiontest_hex_hash_to_int16_empty_and_invalid_hex_are_safe_and_deterministic
()
lmcache/integration/vllm/tests/test_mm_hash_utils.py:47
Functiontest_hex_hash_to_int16_hex_variants_whitespace_and_truncation
()
lmcache/integration/vllm/tests/test_mm_hash_utils.py:37
Functiontest_hex_hash_to_int16_non_string_inputs_are_safe
()
lmcache/integration/vllm/tests/test_mm_hash_utils.py:65
Methodtest_high_contention
Test lock under high contention.
tests/v1/cache_controller/test_locks.py:330
Methodtest_high_contention_stress
Stress test with high contention on a single instance.
tests/v1/cache_controller/test_registry_tree.py:641
Methodtest_high_throughput_stress
Stress test with high throughput operations.
tests/v1/storage_backend/test_batched_message_sender.py:325
Methodtest_hit_clamped_to_num_chunks
(self)
tests/v1/distributed/test_bitmap_ops.py:352
Methodtest_hit_rate_attrs_set_on_root_span
CB_LOOKUP_END with hit_tokens=512, requested_tokens=1024 → hit_rate=0.5.
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:611
Methodtest_hit_rate_attrs_set_on_root_span
LP_END with hit_tokens=512, requested_tokens=1024 → hit_rate=0.5.
tests/v1/mp_observability/subscribers/tracing/test_mp_server.py:648
Methodtest_hit_rate_includes_prefix_and_non_prefix
V3 hit_rate numerator = prefix_hit_tokens + non_prefix_hit_tokens; both are also recorded as separate attributes on the root span.
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:871
Methodtest_hit_rate_zero_when_requested_tokens_is_zero
CB_LOOKUP_END with requested_tokens=0 yields hit_rate=0.0 without error.
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:663
Methodtest_hit_rate_zero_when_requested_tokens_is_zero
LP_END with requested_tokens=0 yields hit_rate=0.0 without error.
tests/v1/mp_observability/subscribers/tracing/test_mp_server.py:695
Methodtest_host_port_env_var_fallback
Host/port env vars should be used when URL values are empty.
tests/v1/distributed/test_resp_env_vars.py:139
Functiontest_hotplug_error_status_code_is_preserved
()
tests/v1/multiprocess/http_apis/test_reconfigure_api.py:308
Functiontest_hs_eviction_does_not_imply_kv_eviction
()
tests/v1/test_hidden_state_store.py:221
Functiontest_hs_pool_is_independent_object
Each HS store owns its own ``MixedMemoryAllocator`` (and pinned buffer). Filling one store's pool does not affect a peer store's contents.
tests/v1/test_hidden_state_store.py:306
Methodtest_http_failure_stops_early_returns_partial_count
(self)
tests/v1/mp_coordinator/test_resync_manager.py:130
Methodtest_http_frontend_args_registered
(self, parser)
tests/cli/commands/test_server.py:68
Functiontest_idempotent_publish
()
tests/v1/mp_coordinator/test_blend_directory_api.py:72
Methodtest_idempotent_store_no_double_count
(self, adapter_with_capacity)
tests/v1/distributed/test_native_connector_l2_adapter.py:1341
Methodtest_ignore_eos_adds_extra_body
(self, mock_openai_cls)
tests/cli/commands/bench/engine_bench/test_request_sender.py:220
Methodtest_ignore_eos_defaults_false_and_overridable
(self)
tests/cli/commands/bench/engine_bench/test_config.py:73
Methodtest_ignores_unknown_request
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:455
Methodtest_implementation_completeness
Verify implementations have all methods from their base class.
tests/v1/test_impl_completeness.py:46
Methodtest_implements_all_abstract_methods
(self)
tests/v1/storage_backend/test_maru_backend.py:234
Methodtest_import
(self)
examples/lmc_external_l2_adapter/tests/test_plugin.py:232
Methodtest_import_error_raises
ImportError propagates when module not found.
tests/v1/distributed/test_l2_adapter_factory.py:243
Methodtest_import_error_raises
ImportError propagates when module not found.
tests/v1/distributed/test_l2_adapter_factory.py:769
Methodtest_in_flight_tracking
(self)
tests/cli/commands/bench/engine_bench/test_progress.py:56
Methodtest_include_abstract_keeps_them
(self, temp_pkg: Tuple[str, Path])
tests/v1/test_subclass_discovery.py:162
Methodtest_incremental_allowed_after_sync
Test incremental works after sync completion.
tests/v1/cache_controller/test_full_sync.py:344
Methodtest_incremental_discarded_during_sync
Test incremental messages discarded during sync.
tests/v1/cache_controller/test_full_sync.py:327
Methodtest_index_from_hash_lower_bits
idx = hash & (table_size - 1).
tests/v1/multiprocess/test_token_hasher.py:263
Methodtest_inf_limit_is_400
Same rationale as NaN — ``Infinity`` is a Python json extension, so a malicious client can still send it.
tests/v1/multiprocess/test_http_quota_endpoints.py:129
Methodtest_inherits_load_plan
Load plan should behave identically to Default.
tests/v1/distributed/test_prefetch_policy.py:296
Functiontest_init
Test RuntimePluginLauncher initialization.
tests/v1/plugin/test_runtime_plugin_launcher.py:47
Methodtest_init
(self, temp_gds_path, async_loop)
tests/v1/storage_backend/test_gds_backend.py:132
Methodtest_init
Test HF3fsConnector initialization via RemoteBackend. This test verifies that the HF3fsConnector can be properly initialized with
tests/v1/storage_backend/test_hf3fs_connector.py:287
Methodtest_init
Test LocalCPUBackend initialization.
tests/v1/storage_backend/test_local_cpu_backend.py:120
Methodtest_init
Test FSConnector initialization via RemoteBackend.
tests/v1/storage_backend/test_fs_connector.py:150
Methodtest_init
Test LocalDiskBackend initialization.
tests/v1/storage_backend/test_local_disk_backend.py:127
Methodtest_init_aggregates_configs
Configs are aggregated into a single JSON dict.
tests/v1/multiprocess/test_mp_runtime_plugin_launcher.py:59
Methodtest_init_and_lazy_pool
Verify independent lazy async client pool initialization.
tests/v1/storage_backend/test_bigtable_connector.py:262
Methodtest_init_blake3
(self)
tests/v1/multiprocess/test_token_hasher.py:28
Methodtest_init_blake3_does_not_import_vllm
( self, monkeypatch: pytest.MonkeyPatch )
tests/v1/multiprocess/test_token_hasher.py:33
Methodtest_init_calls_factory_methods
Test that __init__ calls all factory creation methods.
tests/v1/test_manager.py:62
Methodtest_init_components_exception_makes_unhealthy
Test that exception during factory calls makes manager unhealthy.
tests/v1/test_manager.py:408
Methodtest_init_config
Test initialization with various configs.
tests/v1/cache_controller/test_full_sync_sender.py:49
Methodtest_init_does_not_call_health_monitor
Test that __init__ does NOT create health monitor (deferred to post_init).
tests/v1/test_manager.py:80
Methodtest_init_fallback_raw_dict
When no config class is found, adapter receives a raw dict.
tests/v1/distributed/test_l2_adapter_factory.py:438
Methodtest_init_flips_gate_on
(self, trace_path)
tests/v1/mp_observability/trace/test_recorder.py:99
Methodtest_init_multi_path
Test initialisation with comma-separated paths.
tests/v1/storage_backend/test_local_disk_backend.py:203
Methodtest_init_no_configs
Launcher works with zero extra configs.
tests/v1/multiprocess/test_mp_runtime_plugin_launcher.py:108
Methodtest_init_none_hash_vllm_runtime_error_falls_back
( self, monkeypatch: pytest.MonkeyPatch )
tests/v1/multiprocess/test_token_hasher.py:49
Functiontest_init_observability_propagates_flag_false
``init_observability`` must forward ``False`` to ``init_otel_metrics``.
tests/v1/mp_observability/test_otel_init.py:55
Functiontest_init_observability_propagates_flag_true_by_default
()
tests/v1/mp_observability/test_otel_init.py:65
Functiontest_init_otel_metrics_otlp_mode_never_starts_prom_server
OTLP push mode must not spawn a Prometheus HTTP server, regardless of ``start_http_server``.
tests/v1/mp_observability/test_otel_init.py:39
Functiontest_init_otel_metrics_skips_http_server_when_disabled
()
tests/v1/mp_observability/test_otel_init.py:33
Functiontest_init_otel_metrics_starts_http_server_by_default
()
tests/v1/mp_observability/test_otel_init.py:27
Methodtest_init_passes_no_role
MP mode has no role; inner launcher gets role=None.
tests/v1/multiprocess/test_mp_runtime_plugin_launcher.py:119
Methodtest_init_registers_both_gauges
(self)
tests/v1/mp_observability/test_event_bus.py:520
Methodtest_init_rejects_non_dataclass
Passing a non-dataclass config raises TypeError.
tests/v1/multiprocess/test_mp_runtime_plugin_launcher.py:98
Methodtest_init_replaces_global
(self)
tests/v1/mp_observability/test_event_bus.py:443
Methodtest_init_stores_config
Test that __init__ stores config correctly.
tests/v1/test_manager.py:47
Methodtest_init_with_convention_config_class
Config class discovered via ClassName+'Config' convention.
tests/v1/distributed/test_l2_adapter_factory.py:416
Methodtest_init_with_explicit_config_class
Explicit config_class_name should be used.
tests/v1/distributed/test_l2_adapter_factory.py:394
Methodtest_init_with_layerwise_config
Test LocalCPUBackend initialization with layerwise configuration.
tests/v1/storage_backend/test_local_cpu_backend.py:150
Methodtest_init_with_lookup_server_and_worker
Test LocalCPUBackend initialization with lookup server and worker.
tests/v1/storage_backend/test_local_cpu_backend.py:135
← previousnext →10,601–10,700 of 13,371, ranked by callers