You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2020/07/02 14:48:06 UTC

[skywalking-python] 02/02: Fix test

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch pull/31
in repository https://gitbox.apache.org/repos/asf/skywalking-python.git

commit 3a952b222b001fb49c073e3cf2193b08ad4a88e3
Author: kezhenxu94 <ke...@163.com>
AuthorDate: Thu Jul 2 22:47:48 2020 +0800

    Fix test
---
 tests/plugin/sw_flask/docker-compose.yml | 4 ++--
 tests/plugin/sw_flask/test_flask.py      | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/plugin/sw_flask/docker-compose.yml b/tests/plugin/sw_flask/docker-compose.yml
index d84ab67..61f3be7 100644
--- a/tests/plugin/sw_flask/docker-compose.yml
+++ b/tests/plugin/sw_flask/docker-compose.yml
@@ -25,7 +25,7 @@ services:
 
   provider:
     extends:
-      service: provider
+      service: agent
       file: ../docker/docker-compose.base.yml
     ports:
       - 9091:9091
@@ -43,7 +43,7 @@ services:
 
   consumer:
     extends:
-      service: consumer
+      service: agent
       file: ../docker/docker-compose.base.yml
     ports:
       - 9090:9090
diff --git a/tests/plugin/sw_flask/test_flask.py b/tests/plugin/sw_flask/test_flask.py
index ab7354f..dfeaaa6 100644
--- a/tests/plugin/sw_flask/test_flask.py
+++ b/tests/plugin/sw_flask/test_flask.py
@@ -25,7 +25,7 @@ from testcontainers.compose import DockerCompose
 from tests.plugin import BasePluginTest
 
 
-class TestRequestPlugin(BasePluginTest):
+class TestPlugin(BasePluginTest):
     @classmethod
     def setUpClass(cls):
         cls.compose = DockerCompose(filepath=dirname(abspath(__file__)))