diff --git a/skywalking/__init__.py b/skywalking/__init__.py index 0892f53b..c097107f 100644 --- a/skywalking/__init__.py +++ b/skywalking/__init__.py @@ -28,7 +28,7 @@ class Component(Enum): Requests = 7002 PyMysql = 7003 Django = 7004 - Redis = 7005 + Redis = 7 class Layer(Enum): diff --git a/tests/plugin/sw_redis/expected.data.yml b/tests/plugin/sw_redis/expected.data.yml index 12686fd2..c4ccf26b 100644 --- a/tests/plugin/sw_redis/expected.data.yml +++ b/tests/plugin/sw_redis/expected.data.yml @@ -35,7 +35,7 @@ segmentItems: value: 'SET' startTime: gt 0 endTime: gt 0 - componentId: 7005 + componentId: 7 spanType: Exit peer: redis:6379 skipAnalysis: false @@ -53,7 +53,7 @@ segmentItems: value: 'GET' startTime: gt 0 endTime: gt 0 - componentId: 7005 + componentId: 7 spanType: Exit peer: redis:6379 skipAnalysis: false diff --git a/tests/plugin/sw_redis/test_redispy.py b/tests/plugin/sw_redis/test_redis.py similarity index 100% rename from tests/plugin/sw_redis/test_redispy.py rename to tests/plugin/sw_redis/test_redis.py