Skip to content

Commit c368f5c

Browse files
committed
thanks for nothing claude
1 parent 71308a3 commit c368f5c

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

tests/integrations/redis/asyncio/test_redis_asyncio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ async def test_async_redis_pipeline(
8080
assert pipeline_span["name"] == "redis.pipeline.execute"
8181
attrs = pipeline_span["attributes"]
8282
assert attrs["sentry.op"] == "db.redis"
83-
assert attrs["db.system.name"] == "redis-py"
83+
assert attrs["db.system.name"] == "redis"
8484
assert attrs[SPANDATA.DB_DRIVER_NAME] == "redis-py"
8585
assert attrs["db.namespace"] == "0"
8686
assert attrs[SPANDATA.SERVER_ADDRESS] == (

tests/integrations/redis/cluster/test_redis_cluster.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def test_rediscluster_basic(
9797
assert span["name"] == description
9898
attrs = span["attributes"]
9999
assert attrs["sentry.op"] == "db.redis"
100-
assert attrs["db.system.name"] == "redis-py"
100+
assert attrs["db.system.name"] == "redis"
101101
assert attrs[SPANDATA.DB_DRIVER_NAME] == "redis-py"
102102
# ClusterNode converts localhost to 127.0.0.1
103103
assert attrs[SPANDATA.SERVER_ADDRESS] == "127.0.0.1"
@@ -184,7 +184,7 @@ def test_rediscluster_pipeline(
184184
assert pipeline_span["name"] == "redis.pipeline.execute"
185185
attrs = pipeline_span["attributes"]
186186
assert attrs["sentry.op"] == "db.redis"
187-
assert attrs["db.system.name"] == "redis-py"
187+
assert attrs["db.system.name"] == "redis"
188188
assert attrs[SPANDATA.DB_DRIVER_NAME] == "redis-py"
189189
# ClusterNode converts localhost to 127.0.0.1
190190
assert attrs[SPANDATA.SERVER_ADDRESS] == "127.0.0.1"

tests/integrations/redis/cluster_asyncio/test_redis_cluster_asyncio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ async def test_async_basic(
101101
assert redis_span["name"] == description
102102
attrs = redis_span["attributes"]
103103
assert attrs["sentry.op"] == "db.redis"
104-
assert attrs["db.system.name"] == "redis-py"
104+
assert attrs["db.system.name"] == "redis"
105105
assert attrs[SPANDATA.DB_DRIVER_NAME] == "redis-py"
106106
assert attrs[SPANDATA.SERVER_ADDRESS] == "127.0.0.1"
107107
assert attrs[SPANDATA.SERVER_PORT] == 6379
@@ -175,7 +175,7 @@ async def test_async_redis_pipeline(
175175
assert pipeline_span["name"] == "redis.pipeline.execute"
176176
attrs = pipeline_span["attributes"]
177177
assert attrs["sentry.op"] == "db.redis"
178-
assert attrs["db.system.name"] == "redis-py"
178+
assert attrs["db.system.name"] == "redis"
179179
assert attrs[SPANDATA.DB_DRIVER_NAME] == "redis-py"
180180
assert attrs[SPANDATA.SERVER_ADDRESS] == "127.0.0.1"
181181
assert attrs[SPANDATA.SERVER_PORT] == 6379

0 commit comments

Comments
 (0)