Skip to content

Commit 869dfea

Browse files
committed
Fix redis cache tests after span name add
1 parent 525d156 commit 869dfea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/integrations/redis/test_redis_cache_module.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def test_no_cache_basic(sentry_init, capture_events, render_span_tree):
3131
assert (
3232
render_span_tree(event)
3333
== """\
34-
- op="<unlabeled span>": description=null
34+
- op="cache": description=null
3535
- op="db.redis": description="GET 'mycachekey'"\
3636
"""
3737
)
@@ -61,7 +61,7 @@ def test_cache_basic(sentry_init, capture_events, render_span_tree):
6161
assert (
6262
render_span_tree(event)
6363
== """\
64-
- op="<unlabeled span>": description=null
64+
- op="cache": description=null
6565
- op="db.redis": description="HGET 'mycachekey' [Filtered]"
6666
- op="cache.get": description="mycachekey"
6767
- op="db.redis": description="GET 'mycachekey'"
@@ -97,7 +97,7 @@ def test_cache_keys(sentry_init, capture_events, render_span_tree):
9797
assert (
9898
render_span_tree(event)
9999
== """\
100-
- op="<unlabeled span>": description=null
100+
- op="cache": description=null
101101
- op="db.redis": description="GET 'somethingelse'"
102102
- op="cache.get": description="blub"
103103
- op="db.redis": description="GET 'blub'"

0 commit comments

Comments
 (0)