Skip to content

Commit 12ce116

Browse files
authored
Merge branch 'master' into feat/indexed-transactions-limiting
2 parents 139fa35 + d62cbfc commit 12ce116

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
- Fix quota DataCategory::TransactionProcessed serialisation to match that of the CAPI. ([#1514](https://github.com/getsentry/relay/pull/1514))
3434
- Support checking quotas in the Redis rate limiter without incrementing them. ([#1519](https://github.com/getsentry/relay/pull/1519))
3535
- Update the internal service architecture for metrics aggregator service. ([#1508](https://github.com/getsentry/relay/pull/1508))
36+
- Add data category for indexed transactions. This will come to represent stored transactions, while the existing category will represent transaction metrics. ([#1535](https://github.com/getsentry/relay/pull/1535))
3637

3738
## 22.9.0
3839

py/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- Add user-agent parsing to replays processor. ([#1420](https://github.com/getsentry/relay/pull/1420))
77
- `convert_datascrubbing_config` will now return an error string when conversion fails on big regexes. ([#1474](https://github.com/getsentry/relay/pull/1474))
88
- `relay_pii_strip_event` now treats any key containing `token` as a password. ([#1527](https://github.com/getsentry/relay/pull/1527))
9+
- Add data category for indexed transactions. This will come to represent stored transactions, while the existing category will represent transaction metrics. ([#1535](https://github.com/getsentry/relay/pull/1535))
910

1011
## 0.8.13
1112

tests/integration/test_store.py

+6
Original file line numberDiff line numberDiff line change
@@ -950,6 +950,9 @@ def counted_check_challenge(*args, **kwargs):
950950
auth_count_2 = counter[0]
951951
assert auth_count_1 < auth_count_2
952952

953+
# Give Relay some time to process the auth response and mark itself as not ready
954+
sleep(0.1)
955+
953956
# send a message, it should not come through while the authentication has failed
954957
relay.send_event(project_id, {"message": "123"})
955958
# sentry should have received nothing
@@ -966,6 +969,9 @@ def counted_check_challenge(*args, **kwargs):
966969
auth_count_3 = counter[0]
967970
assert auth_count_2 < auth_count_3
968971

972+
# Give Relay some time to process the auth response and mark itself as ready
973+
sleep(0.1)
974+
969975
# now we should be re-authenticated and we should have the event
970976

971977
# sanity test that we got the event we sent

0 commit comments

Comments
 (0)