Skip to content

Commit 3ebfb4d

Browse files
committed
remove erroneous test
1 parent 1ddb242 commit 3ebfb4d

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

tests/web/rpc/v1/test_endpoint_trace_item_table/test_endpoint_trace_item_table.py

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -3056,38 +3056,6 @@ def test_downsampling_uses_hexintcolumnprocessor(self) -> None:
30563056
# ensures we don't get DB::Exception: Illegal type UInt128 of argument of function right
30573057
EndpointTraceItemTable().execute(best_effort_message)
30583058

3059-
def test_highest_accuracy_flextime_mode(self, setup_teardown: Any) -> None:
3060-
"""
3061-
Test that exercises the MODE_HIGHEST_ACCURACY_FLEXTIME code path.
3062-
This test doesn't validate business logic, just ensures the code path executes without error.
3063-
"""
3064-
message = TraceItemTableRequest(
3065-
meta=RequestMeta(
3066-
project_ids=[1],
3067-
organization_id=1,
3068-
cogs_category="something",
3069-
referrer="something",
3070-
start_timestamp=START_TIMESTAMP,
3071-
end_timestamp=END_TIMESTAMP,
3072-
trace_item_type=TraceItemType.TRACE_ITEM_TYPE_SPAN,
3073-
downsampled_storage_config=DownsampledStorageConfig(
3074-
mode=DownsampledStorageConfig.MODE_HIGHEST_ACCURACY_FLEXTIME
3075-
),
3076-
),
3077-
filter=TraceItemFilter(
3078-
exists_filter=ExistsFilter(
3079-
key=AttributeKey(type=AttributeKey.TYPE_STRING, name="color")
3080-
)
3081-
),
3082-
columns=[Column(key=AttributeKey(type=AttributeKey.TYPE_STRING, name="location"))],
3083-
limit=10,
3084-
)
3085-
# Just ensure it doesn't crash - exercising the code path
3086-
response = EndpointTraceItemTable().execute(message)
3087-
# Basic assertion to ensure we got a response
3088-
assert isinstance(response, TraceItemTableResponse)
3089-
assert False
3090-
30913059
@pytest.mark.redis_db
30923060
def test_non_existant_attribute_filter(self) -> None:
30933061
"""

0 commit comments

Comments
 (0)