mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-22 20:43:59 +00:00
test: skip flaky telemetry tests (#2814)
# What does this PR do?
example error:
4625086977
## Test Plan
This commit is contained in:
parent
9e6860b9cf
commit
d0208df286
1 changed files with 3 additions and 0 deletions
|
@ -50,6 +50,7 @@ def setup_telemetry_data(llama_stack_client, text_model_id):
|
|||
yield
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="Skipping telemetry tests for now")
|
||||
def test_query_traces_basic(llama_stack_client):
|
||||
"""Test basic trace querying functionality with proper data validation."""
|
||||
all_traces = llama_stack_client.telemetry.query_traces(limit=5)
|
||||
|
@ -105,6 +106,7 @@ def test_query_traces_basic(llama_stack_client):
|
|||
assert hasattr(trace, "root_span_id") and trace.root_span_id, "Each trace should have non-empty root_span_id"
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="Skipping telemetry tests for now")
|
||||
def test_query_spans_basic(llama_stack_client):
|
||||
"""Test basic span querying functionality with proper validation."""
|
||||
spans = llama_stack_client.telemetry.query_spans(attribute_filters=[], attributes_to_return=[])
|
||||
|
@ -153,6 +155,7 @@ def test_query_spans_basic(llama_stack_client):
|
|||
assert hasattr(span, attr) and getattr(span, attr), f"All spans should have non-empty {attr}"
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="Skipping telemetry tests for now")
|
||||
def test_telemetry_pagination(llama_stack_client):
|
||||
"""Test pagination in telemetry queries."""
|
||||
# Get total count of traces
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue