Merge "spelling fixed."

This commit is contained in:
Jenkins 2016-11-23 17:34:26 +00:00 committed by Gerrit Code Review
commit 776d0c406a
4 changed files with 4 additions and 4 deletions

View File

@ -371,7 +371,7 @@ def generate_spark_env_configs(cluster):
return '\n'.join(configs) return '\n'.join(configs)
# workernames need to be a list of woker names # workernames need to be a list of worker names
def generate_spark_slaves_configs(workernames): def generate_spark_slaves_configs(workernames):
return '\n'.join(workernames) return '\n'.join(workernames)

View File

@ -255,7 +255,7 @@ class _NFSMounter(_ShareHandler):
remote.execute_command(mount_command, run_as_root=True) remote.execute_command(mount_command, run_as_root=True)
def unmount_from_instance(self, remote, share_info): def unmount_from_instance(self, remote, share_info):
"""Unounts the share from the instance.""" """Unmounts the share from the instance."""
local_path = self._get_path(share_info) local_path = self._get_path(share_info)
unmount_command = self._UNMOUNT_COMMAND % local_path unmount_command = self._UNMOUNT_COMMAND % local_path

View File

@ -543,7 +543,7 @@ class JobExecutionTest(test_base.ConductorManagerTestCase):
my_sample_job_exec['info'] = {'status': 'KiLLeD'} my_sample_job_exec['info'] = {'status': 'KiLLeD'}
self.api.job_execution_create(ctx, my_sample_job_exec) self.api.job_execution_create(ctx, my_sample_job_exec)
# Search only with job exeuction fields (finds both) # Search only with job execution fields (finds both)
lst = self.api.job_execution_get_all(ctx, **{'return_code': 1}) lst = self.api.job_execution_get_all(ctx, **{'return_code': 1})
self.assertEqual(2, len(lst)) self.assertEqual(2, len(lst))

View File

@ -87,7 +87,7 @@ class ConfigHelperUtilsTest(test_base.SaharaTestCase):
mod_swift_vals['fs.swift.service.sahara.tenant'] = 'fred' mod_swift_vals['fs.swift.service.sahara.tenant'] = 'fred'
self.assertDictContainsSubset(mod_swift_vals, properties) self.assertDictContainsSubset(mod_swift_vals, properties)
# Make sure that swift confgs are left out if not enabled # Make sure that swift configs are left out if not enabled
c = c_helper.generate_xml_configs( c = c_helper.generate_xml_configs(
{'HDFS': {'fs.swift.service.sahara.tenant': 'fred'}, {'HDFS': {'fs.swift.service.sahara.tenant': 'fred'},
'general': {'Enable Swift': False}}, 'general': {'Enable Swift': False}},