@@ -88,7 +88,7 @@ def test_redis_pipeline(
8888 assert pipeline_span ["name" ] == "redis.pipeline.execute"
8989 assert pipeline_span ["attributes" ]["sentry.op" ] == "db.redis"
9090 assert pipeline_span ["attributes" ]["sentry.origin" ] == "auto.db.redis"
91- assert pipeline_span ["attributes" ]["db.system.name" ] == "redis-py "
91+ assert pipeline_span ["attributes" ]["db.system.name" ] == "redis"
9292 else :
9393 events = capture_events ()
9494 with start_transaction ():
@@ -402,7 +402,7 @@ def test_db_connection_attributes_client(
402402 assert redis_span ["name" ] == "GET 'foobar'"
403403 attrs = redis_span ["attributes" ]
404404 assert attrs ["sentry.op" ] == "db.redis"
405- assert attrs ["db.system.name" ] == "redis-py "
405+ assert attrs ["db.system.name" ] == "redis"
406406 assert attrs [SPANDATA .DB_DRIVER_NAME ] == "redis-py"
407407 assert attrs ["db.namespace" ] == "1"
408408 assert attrs [SPANDATA .SERVER_ADDRESS ] == "localhost"
@@ -453,8 +453,8 @@ def test_db_connection_attributes_pipeline(
453453 assert pipeline_span ["name" ] == "redis.pipeline.execute"
454454 attrs = pipeline_span ["attributes" ]
455455 assert attrs ["sentry.op" ] == "db.redis"
456- assert attrs ["db.system.name" ] == "redis-py "
457- assert attrs [SPANDATA .DB_DRIVER_NAME ] == "redis"
456+ assert attrs ["db.system.name" ] == "redis"
457+ assert attrs [SPANDATA .DB_DRIVER_NAME ] == "redis-py "
458458 assert attrs ["db.namespace" ] == "1"
459459 assert attrs [SPANDATA .SERVER_ADDRESS ] == "localhost"
460460 assert attrs [SPANDATA .SERVER_PORT ] == 63791
0 commit comments