Skip to content

Commit 28e0ef3

Browse files
authored
chore(snuba): Fix testcase to account for stricter Rust errors processor (#82934)
The Rust errors processor in Snuba has been in prod for a long time now, but has never been used in tests. Update testcase so that we can get rid of the Python one.
1 parent 082441f commit 28e0ef3

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
/src/sentry/snuba/metrics/query.py @getsentry/owners-snuba @getsentry/telemetry-experience
2929
/src/sentry/snuba/metrics_layer/ @getsentry/owners-snuba
3030
/src/sentry/search/events/datasets/metrics_layer.py @getsentry/owners-snuba
31+
/tests/snuba/test_snql_snuba.py @getsentry/owners-snuba
32+
/tests/snuba/test_snuba.py @getsentry/owners-snuba
3133

3234
## Event Ingestion
3335
/src/sentry/attachments/ @getsentry/ingest

tests/snuba/test_snql_snuba.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def _insert_event_for_time(
3535
"datetime": ts.strftime("%Y-%m-%dT%H:%M:%S.%fZ"),
3636
"data": {"received": time.mktime(ts.timetuple())},
3737
},
38+
{},
3839
)
3940
)
4041
return event_id

0 commit comments

Comments
 (0)