From 28e0ef3a0fb56fec77fbbe30ccdfbd0763fd5776 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Mon, 6 Jan 2025 19:33:56 +0100 Subject: [PATCH] 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. --- .github/CODEOWNERS | 2 ++ tests/snuba/test_snql_snuba.py | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 098974ecd3aa4a..b44b4a1f2840d9 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -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 diff --git a/tests/snuba/test_snql_snuba.py b/tests/snuba/test_snql_snuba.py index d613f14ccdf38b..ef5af4d8d1e05b 100644 --- a/tests/snuba/test_snql_snuba.py +++ b/tests/snuba/test_snql_snuba.py @@ -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