Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

test(vertex_ai): run the files peak-memory guards without coverage tracing (#42914)

yuneng-jiangf4f1a75a9cde
diff --git a/tests/unit/llms/vertex_ai/files/test_vertex_ai_files_streaming.py b/tests/unit/llms/vertex_ai/files/test_vertex_ai_files_streaming.py
index 29eaf38b427..6851591f8b5 100644
--- a/tests/unit/llms/vertex_ai/files/test_vertex_ai_files_streaming.py
+++ b/tests/unit/llms/vertex_ai/files/test_vertex_ai_files_streaming.py
@@ -269,6 +269,7 @@ class TestStreamingPeakMemory:
measurement removes any garbage the previous run left behind.
"""
+ @pytest.mark.no_cover
def test_streaming_peak_well_below_list_pipeline(self):
cfg = VertexAIFilesConfig()
raw = _make_openai_jsonl_bytes(8000)
@@ -345,6 +346,7 @@ class TestPathSourcedStreaming:
first_labels = json.loads(lines[0])["request"]["labels"]
assert _get_litellm_batch_custom_id_from_labels(first_labels) == "request-0"
+ @pytest.mark.no_cover
def test_path_source_peak_stays_below_list_pipeline(self, tmp_path):
cfg = VertexAIFilesConfig()
path, raw = self._write_jsonl(tmp_path, 8000)