Skip to content

Commit 021fc81

Browse files
authored
ref(metrics-layer): Test the span metric charts too (#54045)
- This adds the metrics-layer feature flag to the span metrics event-stats tests too
1 parent 90f2301 commit 021fc81

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/snuba/api/endpoints/test_organization_events_stats_span_metrics.py

+8
Original file line numberDiff line numberDiff line change
@@ -161,3 +161,11 @@ def test_throughput_eps_minute_rollup(self):
161161
rows = data[0:6]
162162
for test in zip(event_counts, rows):
163163
assert test[1][1][0]["count"] == test[0] / 60.0
164+
165+
166+
class OrganizationEventsStatsSpansMetricsEndpointTestWithMetricLayer(
167+
OrganizationEventsStatsSpansMetricsEndpointTest
168+
):
169+
def setUp(self):
170+
super().setUp()
171+
self.features["organizations:use-metrics-layer"] = True

0 commit comments

Comments
 (0)