diff --git a/tests/plugin/sw_django/test_django.py b/tests/plugin/sw_django/test_django.py index 79827f58b1103e0b4dae20c7d9da8624314a1e21..b2315d84c58312f3ae8a54781db5fb8dce68b2fd 100644 --- a/tests/plugin/sw_django/test_django.py +++ b/tests/plugin/sw_django/test_django.py @@ -33,7 +33,7 @@ class TestPlugin(BasePluginTest): cls.compose.wait_for(cls.url(('consumer', '9090'), 'users?test=test1&test=test2&test2=test2')) def test_plugin(self): - time.sleep(3) + time.sleep(10) self.validate() diff --git a/tests/plugin/sw_flask/test_flask.py b/tests/plugin/sw_flask/test_flask.py index 1ff07d599d333afda941aab66a239f681bcaf902..4efe2e56d0544061eaf939b266ef28c0972c0b9c 100644 --- a/tests/plugin/sw_flask/test_flask.py +++ b/tests/plugin/sw_flask/test_flask.py @@ -33,7 +33,7 @@ class TestPlugin(BasePluginTest): cls.compose.wait_for(cls.url(('consumer', '9090'), 'users?test=test1&test=test2&test2=test2')) def test_plugin(self): - time.sleep(3) + time.sleep(10) self.validate() response = requests.get(TestPlugin.url(('consumer', '9090'), 'users')) diff --git a/tests/plugin/sw_http/test_http.py b/tests/plugin/sw_http/test_http.py index 05b42d245ab4e961bfcdbb587230cd49676de54a..8aa24b4f3c691e14aa3b70b4eac60be408b199f6 100644 --- a/tests/plugin/sw_http/test_http.py +++ b/tests/plugin/sw_http/test_http.py @@ -28,7 +28,7 @@ class TestPlugin(BasePluginTest): def test_plugin(self): print('traffic: ', requests.post(url=self.url(('consumer', '9090')))) - time.sleep(3) + time.sleep(10) self.validate() diff --git a/tests/plugin/sw_http_wsgi/test_http_wsgi.py b/tests/plugin/sw_http_wsgi/test_http_wsgi.py index 05b42d245ab4e961bfcdbb587230cd49676de54a..8aa24b4f3c691e14aa3b70b4eac60be408b199f6 100644 --- a/tests/plugin/sw_http_wsgi/test_http_wsgi.py +++ b/tests/plugin/sw_http_wsgi/test_http_wsgi.py @@ -28,7 +28,7 @@ class TestPlugin(BasePluginTest): def test_plugin(self): print('traffic: ', requests.post(url=self.url(('consumer', '9090')))) - time.sleep(3) + time.sleep(10) self.validate() diff --git a/tests/plugin/sw_kafka/test_kafka.py b/tests/plugin/sw_kafka/test_kafka.py index f24add7450a77307978bb04274bdfaae5faeaed2..62dfcb2e09521638512db28eecd2997716901ed5 100644 --- a/tests/plugin/sw_kafka/test_kafka.py +++ b/tests/plugin/sw_kafka/test_kafka.py @@ -34,7 +34,7 @@ class TestPlugin(BasePluginTest): cls.compose.wait_for(cls.url(('producer', '9090'), 'users')) def test_request_plugin(self): - time.sleep(3) + time.sleep(10) self.validate(expected_file_name=os.path.join(dirname(abspath(__file__)), 'expected.data.yml')) diff --git a/tests/plugin/sw_pymysql/test_pymysql.py b/tests/plugin/sw_pymysql/test_pymysql.py index dfeaaa6ce9bbecb864c5c54d7835dbf709878e8f..9d7c0dd57a2c0828ddce8e79a32b4b0f4d60dce0 100644 --- a/tests/plugin/sw_pymysql/test_pymysql.py +++ b/tests/plugin/sw_pymysql/test_pymysql.py @@ -34,7 +34,7 @@ class TestPlugin(BasePluginTest): cls.compose.wait_for(cls.url(('consumer', '9090'), 'users')) def test_request_plugin(self): - time.sleep(3) + time.sleep(10) self.validate(expected_file_name=os.path.join(dirname(abspath(__file__)), 'expected.data.yml')) diff --git a/tests/plugin/sw_rabbitmq/test_kafka.py b/tests/plugin/sw_rabbitmq/test_kafka.py index f24add7450a77307978bb04274bdfaae5faeaed2..62dfcb2e09521638512db28eecd2997716901ed5 100644 --- a/tests/plugin/sw_rabbitmq/test_kafka.py +++ b/tests/plugin/sw_rabbitmq/test_kafka.py @@ -34,7 +34,7 @@ class TestPlugin(BasePluginTest): cls.compose.wait_for(cls.url(('producer', '9090'), 'users')) def test_request_plugin(self): - time.sleep(3) + time.sleep(10) self.validate(expected_file_name=os.path.join(dirname(abspath(__file__)), 'expected.data.yml')) diff --git a/tests/plugin/sw_redis/docker-compose.yml b/tests/plugin/sw_redis/docker-compose.yml index ba9fc19daba63b724e9b24de7b938ccb482e4dd8..202d8168ec47f45db94d746ca2bed8890f5698e1 100644 --- a/tests/plugin/sw_redis/docker-compose.yml +++ b/tests/plugin/sw_redis/docker-compose.yml @@ -70,5 +70,6 @@ services: provider: condition: service_healthy + networks: beyond: diff --git a/tests/plugin/sw_redis/test_redis.py b/tests/plugin/sw_redis/test_redis.py index dfeaaa6ce9bbecb864c5c54d7835dbf709878e8f..9d7c0dd57a2c0828ddce8e79a32b4b0f4d60dce0 100644 --- a/tests/plugin/sw_redis/test_redis.py +++ b/tests/plugin/sw_redis/test_redis.py @@ -34,7 +34,7 @@ class TestPlugin(BasePluginTest): cls.compose.wait_for(cls.url(('consumer', '9090'), 'users')) def test_request_plugin(self): - time.sleep(3) + time.sleep(10) self.validate(expected_file_name=os.path.join(dirname(abspath(__file__)), 'expected.data.yml')) diff --git a/tests/plugin/sw_requests/docker-compose.yml b/tests/plugin/sw_requests/docker-compose.yml index b875de602f3c6333fa4100f6c1a612dea03e9305..a0a80d4de47bc28fa394dda8d0b93ab171214f9c 100644 --- a/tests/plugin/sw_requests/docker-compose.yml +++ b/tests/plugin/sw_requests/docker-compose.yml @@ -54,5 +54,6 @@ services: provider: condition: service_healthy + networks: beyond: \ No newline at end of file diff --git a/tests/plugin/sw_requests/test_request.py b/tests/plugin/sw_requests/test_request.py index 05b42d245ab4e961bfcdbb587230cd49676de54a..8aa24b4f3c691e14aa3b70b4eac60be408b199f6 100644 --- a/tests/plugin/sw_requests/test_request.py +++ b/tests/plugin/sw_requests/test_request.py @@ -28,7 +28,7 @@ class TestPlugin(BasePluginTest): def test_plugin(self): print('traffic: ', requests.post(url=self.url(('consumer', '9090')))) - time.sleep(3) + time.sleep(10) self.validate() diff --git a/tests/plugin/sw_tornado/test_tornado.py b/tests/plugin/sw_tornado/test_tornado.py index 81874514baed781225cd2ba97cf7b4089fabbef2..f7eb78825ba388a3ef7acee78c5156fa2334df9a 100644 --- a/tests/plugin/sw_tornado/test_tornado.py +++ b/tests/plugin/sw_tornado/test_tornado.py @@ -33,7 +33,7 @@ class TestPlugin(BasePluginTest): cls.compose.wait_for(cls.url(('consumer', '9090'), 'users')) def test_plugin(self): - time.sleep(3) + time.sleep(10) self.validate()