Fix various typos

This commit is contained in:
Aurelien Lourot
2021-09-24 14:20:01 +02:00
parent 12122ae0ea
commit c32a6d420b
4 changed files with 6 additions and 5 deletions

View File

@@ -223,7 +223,7 @@ class MySQLCommonTests(MySQLBaseTest):
logging.info("Wait till model is idle ...")
zaza.model.block_until_all_units_idle()
# If there are any blocekd mysql routers restart them.
# If there are any blocked mysql routers restart them.
self.restart_blocked_mysql_routers()
assert not self.get_blocked_mysql_routers(), (
"Should no longer be blocked mysql-router units")

View File

@@ -108,7 +108,7 @@ class OpenStackUpgradeTestsByOption(OpenStackUpgradeVMLaunchBase):
tests_options:
openstack-upgrade:
detect-charm: keystone
detect-using-charm: keystone
This will use the octavia application, detect the ubuntu version and then
read the config to discover the current OpenStack version.
@@ -135,7 +135,8 @@ class OpenStackUpgradeTestsByOption(OpenStackUpgradeVMLaunchBase):
.openstack_upgrade.detect_using_charm)
except KeyError:
raise exceptions.InvalidTestConfig(
"Missing tests_options.openstack-upgrade.detect-charm config.")
"Missing tests_options.openstack-upgrade.detect-using-charm "
"config.")
unit = zaza.model.get_lead_unit(detect_charm)
ubuntu_version = generic.get_series(unit)

View File

@@ -426,7 +426,7 @@ class TrilioBaseTest(test_utils.OpenStackBaseTest):
workloadmgrcli.oneclick_restore(snapshot_id)
def test_update_trilio_action(self):
"""Test that the action runs succesfully."""
"""Test that the action runs successfully."""
action_name = 'update-trilio'
actions = zaza_model.get_actions(
self.application_name)

View File

@@ -2832,7 +2832,7 @@ def ssh_test(username, ip, vm_name, password=None, privkey=None, retry=True):
return_string = stdout.readlines()[0].strip()
if return_string == vm_name:
logging.info('SSH to %s(%s) succesfull' % (vm_name, ip))
logging.info('SSH to %s(%s) successful' % (vm_name, ip))
else:
logging.info('SSH to %s(%s) failed (%s != %s)' % (vm_name, ip,
return_string,