Skip to content

Commit

Permalink
chore(snuba): Fix testcase to account for stricter Rust errors proces…
Browse files Browse the repository at this point in the history
…sor (#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.
  • Loading branch information
untitaker authored Jan 6, 2025
1 parent 082441f commit 28e0ef3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
/src/sentry/snuba/metrics/query.py @getsentry/owners-snuba @getsentry/telemetry-experience
/src/sentry/snuba/metrics_layer/ @getsentry/owners-snuba
/src/sentry/search/events/datasets/metrics_layer.py @getsentry/owners-snuba
/tests/snuba/test_snql_snuba.py @getsentry/owners-snuba
/tests/snuba/test_snuba.py @getsentry/owners-snuba

## Event Ingestion
/src/sentry/attachments/ @getsentry/ingest
Expand Down
1 change: 1 addition & 0 deletions tests/snuba/test_snql_snuba.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def _insert_event_for_time(
"datetime": ts.strftime("%Y-%m-%dT%H:%M:%S.%fZ"),
"data": {"received": time.mktime(ts.timetuple())},
},
{},
)
)
return event_id
Expand Down

0 comments on commit 28e0ef3

Please sign in to comment.