Misprints in English words
Fix misprints in class, method names, comments, etc. Closes-Bug: #1516044 Change-Id: I9ed73165a06976bc1bfa8630615527fc97dd9fda
This commit is contained in:
parent
db451d6d3b
commit
81f8178906
|
@ -1,6 +1,6 @@
|
||||||
.. index:: Base tests
|
.. index:: Base tests
|
||||||
|
|
||||||
General Openstack/Fuel Tests
|
General OpenStack/Fuel Tests
|
||||||
****************************
|
****************************
|
||||||
|
|
||||||
General tests
|
General tests
|
||||||
|
@ -337,7 +337,7 @@ Test Upgrade Chains
|
||||||
OS upgrade tests
|
OS upgrade tests
|
||||||
================
|
================
|
||||||
|
|
||||||
Test Openstack Upgrades
|
Test OpenStack Upgrades
|
||||||
-----------------------
|
-----------------------
|
||||||
.. automodule:: fuelweb_test.tests.test_os_upgrade
|
.. automodule:: fuelweb_test.tests.test_os_upgrade
|
||||||
:members:
|
:members:
|
||||||
|
|
|
@ -98,7 +98,7 @@ Regenerate Repo
|
||||||
.. automodule:: fuelweb_test.helpers.regenerate_repo
|
.. automodule:: fuelweb_test.helpers.regenerate_repo
|
||||||
:members:
|
:members:
|
||||||
|
|
||||||
Replace Reposiroties
|
Replace Repositories
|
||||||
--------------------
|
--------------------
|
||||||
.. automodule:: fuelweb_test.helpers.replace_repos
|
.. automodule:: fuelweb_test.helpers.replace_repos
|
||||||
:members:
|
:members:
|
||||||
|
|
|
@ -71,7 +71,7 @@ class DeployHAOneControllerMasterNodeFail(base_test_case.TestBasic):
|
||||||
7. Verify network configuration on controller
|
7. Verify network configuration on controller
|
||||||
8. Run OSTF
|
8. Run OSTF
|
||||||
9. Shut down master node
|
9. Shut down master node
|
||||||
10. Run openstack verification
|
10. Run OpenStack verification
|
||||||
|
|
||||||
Duration 1000m
|
Duration 1000m
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -21,7 +21,7 @@ from system_test.helpers.decorators import deferred_decorator
|
||||||
from system_test.helpers.decorators import action
|
from system_test.helpers.decorators import action
|
||||||
|
|
||||||
|
|
||||||
class StrenghtDestroyFirstContorller(strength_base.StrenghtBaseActions):
|
class StrengthDestroyFirstController(strength_base.StrengthBaseActions):
|
||||||
"""Destroy two controllers and check pacemaker status is correct
|
"""Destroy two controllers and check pacemaker status is correct
|
||||||
|
|
||||||
Scenario:
|
Scenario:
|
||||||
|
@ -56,7 +56,7 @@ class StrenghtDestroyFirstContorller(strength_base.StrenghtBaseActions):
|
||||||
'network_check',
|
'network_check',
|
||||||
'health_check',
|
'health_check',
|
||||||
'save_load_environment',
|
'save_load_environment',
|
||||||
'destory_first_controller',
|
'destroy_first_controller',
|
||||||
'check_pacemaker_status',
|
'check_pacemaker_status',
|
||||||
'wait_offline_nodes',
|
'wait_offline_nodes',
|
||||||
'check_ha_service_ready',
|
'check_ha_service_ready',
|
||||||
|
@ -67,12 +67,12 @@ class StrenghtDestroyFirstContorller(strength_base.StrenghtBaseActions):
|
||||||
|
|
||||||
@deferred_decorator([make_snapshot_if_step_fail])
|
@deferred_decorator([make_snapshot_if_step_fail])
|
||||||
@action
|
@action
|
||||||
def destory_first_controller(self):
|
def destroy_first_controller(self):
|
||||||
"""Destroy first controller"""
|
"""Destroy first controller"""
|
||||||
self._destory_controller('slave-01')
|
self._destroy_controller('slave-01')
|
||||||
|
|
||||||
|
|
||||||
class StrenghtDestroySecondContorller(strength_base.StrenghtBaseActions):
|
class StrengthDestroySecondController(strength_base.StrengthBaseActions):
|
||||||
"""Destroy two controllers and check pacemaker status is correct
|
"""Destroy two controllers and check pacemaker status is correct
|
||||||
|
|
||||||
Scenario:
|
Scenario:
|
||||||
|
@ -107,7 +107,7 @@ class StrenghtDestroySecondContorller(strength_base.StrenghtBaseActions):
|
||||||
'network_check',
|
'network_check',
|
||||||
'health_check',
|
'health_check',
|
||||||
'save_load_environment',
|
'save_load_environment',
|
||||||
'destory_second_controller',
|
'destroy_second_controller',
|
||||||
'check_pacemaker_status',
|
'check_pacemaker_status',
|
||||||
'wait_offline_nodes',
|
'wait_offline_nodes',
|
||||||
'check_ha_service_ready',
|
'check_ha_service_ready',
|
||||||
|
@ -118,12 +118,12 @@ class StrenghtDestroySecondContorller(strength_base.StrenghtBaseActions):
|
||||||
|
|
||||||
@deferred_decorator([make_snapshot_if_step_fail])
|
@deferred_decorator([make_snapshot_if_step_fail])
|
||||||
@action
|
@action
|
||||||
def destory_second_controller(self):
|
def destroy_second_controller(self):
|
||||||
"""Destroy second controller"""
|
"""Destroy second controller"""
|
||||||
self._destory_controller('slave-02')
|
self._destroy_controller('slave-02')
|
||||||
|
|
||||||
|
|
||||||
@factory
|
@factory
|
||||||
def cases():
|
def cases():
|
||||||
return (case_factory(StrenghtDestroyFirstContorller) +
|
return (case_factory(StrengthDestroyFirstController) +
|
||||||
case_factory(StrenghtDestroySecondContorller))
|
case_factory(StrengthDestroySecondController))
|
||||||
|
|
|
@ -24,15 +24,15 @@ from system_test.helpers.decorators import action
|
||||||
from system_test import logger
|
from system_test import logger
|
||||||
|
|
||||||
|
|
||||||
class StrenghtBaseActions(actions_base.ActionsBase):
|
class StrengthBaseActions(actions_base.ActionsBase):
|
||||||
|
|
||||||
def __init__(self, config=None):
|
def __init__(self, config=None):
|
||||||
super(StrenghtBaseActions, self).__init__(config)
|
super(StrengthBaseActions, self).__init__(config)
|
||||||
self.destroyed_devops_nodes = []
|
self.destroyed_devops_nodes = []
|
||||||
self.ostf_tests_should_failed = 0
|
self.ostf_tests_should_failed = 0
|
||||||
self.os_service_should_failed = 0
|
self.os_service_should_failed = 0
|
||||||
|
|
||||||
def _destory_controller(self, devops_node_name):
|
def _destroy_controller(self, devops_node_name):
|
||||||
logger.info("Suspend {} node".format(devops_node_name))
|
logger.info("Suspend {} node".format(devops_node_name))
|
||||||
d_node = self.env.d_env.get_node(name=devops_node_name)
|
d_node = self.env.d_env.get_node(name=devops_node_name)
|
||||||
d_node.suspend(False)
|
d_node.suspend(False)
|
||||||
|
|
|
@ -129,7 +129,7 @@ GlobalVariables() {
|
||||||
USE_MIRROR="${USE_MIRROR:=srt}"
|
USE_MIRROR="${USE_MIRROR:=srt}"
|
||||||
|
|
||||||
# only show what commands would be executed but do nothing
|
# only show what commands would be executed but do nothing
|
||||||
# this feature is usefull if you want to debug this script's behaviour
|
# this feature is useful if you want to debug this script's behaviour
|
||||||
DRY_RUN="${DRY_RUN:=no}"
|
DRY_RUN="${DRY_RUN:=no}"
|
||||||
|
|
||||||
VENV="${VENV:=yes}"
|
VENV="${VENV:=yes}"
|
||||||
|
|
Loading…
Reference in New Issue