Skip to content

Commit b295347

Browse files
committed
fix
1 parent 15ce1de commit b295347

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

tests/snuba/api/endpoints/test_organization_events_stats_span_metrics.py

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -297,28 +297,6 @@ def test_cache_item_size(self):
297297
assert not data[0][1][0]["count"]
298298
assert data[1][1][0]["count"] == 4.0
299299

300-
def test_cache_hit(self):
301-
self.store_span_metric(
302-
4,
303-
metric="cache.item_size",
304-
timestamp=self.day_ago + timedelta(minutes=1),
305-
tags={"cache.hit": "true", "transaction": "foo"},
306-
)
307-
308-
response = self.do_request(
309-
data={
310-
"start": iso_format(self.day_ago),
311-
"end": iso_format(self.day_ago + timedelta(minutes=2)),
312-
"interval": "1m",
313-
"field": ["transaction"],
314-
"yAxis": ["count()"],
315-
"project": self.project.id,
316-
"dataset": "spansMetrics",
317-
},
318-
)
319-
320-
assert response.status_code == 200
321-
322300

323301
class OrganizationEventsStatsSpansMetricsEndpointTestWithMetricLayer(
324302
OrganizationEventsStatsSpansMetricsEndpointTest

0 commit comments

Comments
 (0)