未验证 提交 7381fc86 编写于 作者: H huawei 提交者: GitHub

[Test] Update test wait time (#57)

上级 cf35f615
......@@ -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()
......
......@@ -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'))
......
......@@ -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()
......
......@@ -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()
......
......@@ -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'))
......
......@@ -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'))
......
......@@ -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'))
......
......@@ -70,5 +70,6 @@ services:
provider:
condition: service_healthy
networks:
beyond:
......@@ -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'))
......
......@@ -54,5 +54,6 @@ services:
provider:
condition: service_healthy
networks:
beyond:
\ No newline at end of file
......@@ -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()
......
......@@ -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()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册