Do not check status of the apply configuration task
'ready' and 'error' statuses should be alowed for the apply configuration task as main goal of test is to check the configuration was properly changed. Change-Id: Ibf71a47900249e2ad3016662623f1a8ced036426 Closes-Bug: #1628951
This commit is contained in:
parent
4a045267f0
commit
c93b6d21ef
|
@ -517,7 +517,7 @@ class ServicesReconfiguration(TestBasic):
|
|||
1. Revert snapshot "basic_env_for_reconfiguration"
|
||||
2. Upload a new openstack configuration
|
||||
3. Try to apply a new keystone configuration
|
||||
4. Wait for failing of deployment task
|
||||
4. Wait for finishing of the apply configuration task
|
||||
5. Verify configuration file on primary controller
|
||||
|
||||
Snapshot: reconfigure_keystone_to_use_ldap
|
||||
|
@ -540,17 +540,10 @@ class ServicesReconfiguration(TestBasic):
|
|||
cluster_id)
|
||||
|
||||
self.show_step(3)
|
||||
task = self.fuel_web.client.apply_configuration(
|
||||
cluster_id)
|
||||
task = self.fuel_web.client.apply_configuration(cluster_id)
|
||||
|
||||
self.show_step(4)
|
||||
try:
|
||||
self.fuel_web.assert_task_success(task, timeout=3600, interval=30)
|
||||
except AssertionError as e:
|
||||
logger.warning('Ignoring exception: {!r}'.format(e))
|
||||
logger.debug(traceback.format_exc())
|
||||
else:
|
||||
raise Exception("New configuration was not applied")
|
||||
self.fuel_web.task_wait(task, timeout=3600, interval=30)
|
||||
|
||||
self.show_step(5)
|
||||
self.check_config_on_remote([pr_controller], structured_config)
|
||||
|
|
Loading…
Reference in New Issue