From 8ed5666501966ca8a2d9bfed8b9111f612b4dddf Mon Sep 17 00:00:00 2001 From: Rosario Di Somma Date: Wed, 14 Jun 2017 23:22:17 +0000 Subject: [PATCH] Increase timeout for volume tests Creating and deleting volumes is slow so tests like test_list_volumes_pagination are often timing out Change-Id: I87f59bdfb527326a2a90a03d524e38d632ea7377 Signed-off-by: Rosario Di Somma --- shade/tests/functional/test_volume.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shade/tests/functional/test_volume.py b/shade/tests/functional/test_volume.py index 59bca0145..8a3d20c70 100644 --- a/shade/tests/functional/test_volume.py +++ b/shade/tests/functional/test_volume.py @@ -25,6 +25,9 @@ from shade.tests.functional import base class TestVolume(base.BaseFunctionalTestCase): + # Creating and deleting volumes is slow + TIMEOUT_SCALING_FACTOR = 1.5 + def setUp(self): super(TestVolume, self).setUp() if not self.user_cloud.has_service('volume'): @@ -109,7 +112,6 @@ class TestVolume(base.BaseFunctionalTestCase): def test_list_volumes_pagination(self): '''Test pagination for list volumes functionality''' - self.skipTest("Pagination test killing gate current") volumes = [] # the number of created volumes needs to be higher than