Skip to content

Commit

Permalink
Fix column name and type
Browse files Browse the repository at this point in the history
  • Loading branch information
phacops committed Nov 19, 2024
1 parent 9d147f6 commit 41ea09a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/web/rpc/v1/test_debug_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ def _create_trace_item_table_request(debug: bool = False) -> TraceItemTableReque
),
columns=[
Column(
key=AttributeKey(type=AttributeKey.TYPE_STRING, name="duration_ms")
key=AttributeKey(
type=AttributeKey.TYPE_FLOAT, name="sentry.duration_ms"
)
)
],
limit=1,
Expand All @@ -53,6 +55,7 @@ def _create_trace_item_table_request(debug: bool = False) -> TraceItemTableReque
def test_debug_info_present_when_requested(self) -> None:
debug_request = self._create_trace_item_table_request(debug=True)
debug_response = EndpointTraceItemTable().execute(debug_request)
print(debug_response)
assert debug_response.meta.request_id == debug_request.meta.request_id
assert len(debug_response.meta.query_info) > 0
for query_info in debug_response.meta.query_info:
Expand Down

0 comments on commit 41ea09a

Please sign in to comment.