Browse Source

Remove custom timeouts in few_os tests

- We have default timeout for deployment bigger than we used
in few_os tests so it's better to stick to default

Change-Id: I58f04ee23a10c32053087832b843372a0a1a5150
asledzinskiy 2 years ago
parent
commit
89c8319b9b
1 changed files with 7 additions and 7 deletions
  1. 7
    7
      fuel_ccp_tests/tests/system/test_few_os.py

+ 7
- 7
fuel_ccp_tests/tests/system/test_few_os.py View File

@@ -62,7 +62,7 @@ class TestDeployTwoOS(base_test.SystemBaseTest):
62 62
         underlay.sudo_check_call("pip install python-openstackclient",
63 63
                                  host=config.k8s.kube_host)
64 64
         ccpcluster.deploy(params={"config-file": "./config_1.yaml"})
65
-        post_os_deploy_checks.check_jobs_status(k8s_actions.api, timeout=2000)
65
+        post_os_deploy_checks.check_jobs_status(k8s_actions.api)
66 66
         post_os_deploy_checks.check_pods_status(k8s_actions.api)
67 67
         remote.check_call(
68 68
             "source openrc-{}; bash fuel-ccp/tools/deploy-test-vms.sh -a"
@@ -83,7 +83,7 @@ class TestDeployTwoOS(base_test.SystemBaseTest):
83 83
             '/tmp/1ctrl_1comp_diff.yaml'])
84 84
 
85 85
         ccpcluster.deploy(params={"config-file": "./config_2.yaml"})
86
-        post_os_deploy_checks.check_jobs_status(k8s_actions.api, timeout=2000,
86
+        post_os_deploy_checks.check_jobs_status(k8s_actions.api,
87 87
                                                 namespace="ccp-second")
88 88
         post_os_deploy_checks.check_pods_status(k8s_actions.api,
89 89
                                                 namespace="ccp-second")
@@ -130,7 +130,7 @@ class TestDeployTwoOS(base_test.SystemBaseTest):
130 130
         underlay.sudo_check_call("pip install python-openstackclient",
131 131
                                  host=config.k8s.kube_host)
132 132
         ccpcluster.deploy(params={"config-file": "./config_1.yaml"})
133
-        post_os_deploy_checks.check_jobs_status(k8s_actions.api, timeout=2000)
133
+        post_os_deploy_checks.check_jobs_status(k8s_actions.api)
134 134
         post_os_deploy_checks.check_pods_status(k8s_actions.api)
135 135
         remote.check_call(
136 136
             "source openrc-{}; bash fuel-ccp/tools/deploy-test-vms.sh -a"
@@ -151,7 +151,7 @@ class TestDeployTwoOS(base_test.SystemBaseTest):
151 151
             '/tmp/1ctrl_1comp_same.yaml'])
152 152
 
153 153
         ccpcluster.deploy(params={"config-file": "./config_2.yaml"})
154
-        post_os_deploy_checks.check_jobs_status(k8s_actions.api, timeout=2000,
154
+        post_os_deploy_checks.check_jobs_status(k8s_actions.api,
155 155
                                                 namespace="ccp-second")
156 156
         post_os_deploy_checks.check_pods_status(k8s_actions.api,
157 157
                                                 namespace="ccp-second")
@@ -199,7 +199,7 @@ class TestDeployTwoOS(base_test.SystemBaseTest):
199 199
         underlay.sudo_check_call("pip install python-openstackclient",
200 200
                                  host=config.k8s.kube_host)
201 201
         ccpcluster.deploy(params={"config-file": "./config_1.yaml"})
202
-        post_os_deploy_checks.check_jobs_status(k8s_actions.api, timeout=2000)
202
+        post_os_deploy_checks.check_jobs_status(k8s_actions.api)
203 203
         post_os_deploy_checks.check_pods_status(k8s_actions.api)
204 204
         remote.check_call(
205 205
             "source openrc-{}; openstack flavor create"
@@ -217,7 +217,7 @@ class TestDeployTwoOS(base_test.SystemBaseTest):
217 217
             '/tmp/1ctrl.yaml'])
218 218
 
219 219
         ccpcluster.deploy(params={"config-file": "./config_2.yaml"})
220
-        post_os_deploy_checks.check_jobs_status(k8s_actions.api, timeout=2000,
220
+        post_os_deploy_checks.check_jobs_status(k8s_actions.api,
221 221
                                                 namespace="ccp-second")
222 222
         post_os_deploy_checks.check_pods_status(k8s_actions.api,
223 223
                                                 namespace="ccp-second")
@@ -234,7 +234,7 @@ class TestDeployTwoOS(base_test.SystemBaseTest):
234 234
             settings.CCP_SOURCES_CONFIG,
235 235
             '/tmp/1ctrl.yaml'])
236 236
         ccpcluster.deploy(params={"config-file": "./config_3.yaml"})
237
-        post_os_deploy_checks.check_jobs_status(k8s_actions.api, timeout=2000,
237
+        post_os_deploy_checks.check_jobs_status(k8s_actions.api,
238 238
                                                 namespace="ccp-third")
239 239
         post_os_deploy_checks.check_pods_status(k8s_actions.api,
240 240
                                                 namespace="ccp-third")

Loading…
Cancel
Save