Commit 56ac53ac authored by Jérome Perrin's avatar Jérome Perrin

testnode: fix a few typos

parent ba57396c
......@@ -439,7 +439,7 @@ shared = true
def test_05e_IgnoringIncorrectRepository(self):
"""
If someone add a test suite with a bad url for git repository (or wrong
crendentials), the testnode should not block forever and should work on
credentials), the testnode should not block forever and should work on
other test suites. This method should be able to run
"""
self.generateTestRepositoryList()
......@@ -824,7 +824,7 @@ shared = true
def patch_startTestSuite(self,node_title,computer_guid='unknown'):
global counter
config_list = []
# Sclalability slave testnode is not directly in charge of testsuites
# Scalability slave testnode is not directly in charge of testsuites
if my_test_type == 'ScalabilityTest' and grade == 'slave':
if counter == 5:
raise StopIteration
......
......@@ -112,7 +112,7 @@ class SlapOSControler(object):
def request(self, reference, software_url, software_type=None,
software_configuration=None, computer_guid=None, state='started'):
"""
configuration_file_path (slapos acount)
configuration_file_path (slapos account)
reference : instance title
software_url : software path/url
software_type : scalability
......@@ -124,14 +124,14 @@ class SlapOSControler(object):
"""
logger.debug('SlapOSControler : request-->SlapOSMaster')
current_intance_config = {'software_type':software_type,
self.instance_config[reference] = {
'software_type':software_type,
'software_configuration':software_configuration,
'computer_guid':computer_guid,
'software_url':software_url,
'requested_state':state,
'partition':None
}
self.instance_config[reference] = current_intance_config
filter_kw = None
if computer_guid != None:
......@@ -319,7 +319,7 @@ class SlapOSControler(object):
logger.debug("SlapOSControler.runSoftwareRelease")
# Set some flags to maximize CPU utilization
# We usually have several testnode instances running on the same server, so
# each testnode process should try to use the maximum amout of resources,
# each testnode process should try to use the maximum amount of resources,
# yet leaving some resources for other instances on the machine.
# A typical scenario is we have all testnode re-compiling softwares at the
# same time because of change in repository that would cause all test nodes
......@@ -362,7 +362,7 @@ class SlapOSControler(object):
raise ValueError("Unable to registerOpenOrder")
# try to run for all partitions as one partition may in theory request another one
# this not always is required but curently no way to know how "tree" of partitions
# this not always is required but currently no way to know how "tree" of partitions
# may "expand"
for _ in range(max_quantity):
status_dict = self.spawn(config['slapos_binary'], 'node', 'instance',
......
......@@ -280,7 +280,7 @@ shared = true
node_title=config['test_node_title'],
computer_guid=config['computer_id'])
if type(node_configuration) is str:
# Backward compatiblity
# Backward compatibility
node_configuration = json.loads(node_configuration)
if node_configuration is not None and \
'process_timeout' in node_configuration \
......@@ -293,7 +293,7 @@ shared = true
node_title=config['test_node_title'],
computer_guid=config['computer_id'])
if type(test_suite_data) is str:
# Backward compatiblity
# Backward compatibility
test_suite_data = json.loads(test_suite_data)
test_suite_data = deunicodeData(test_suite_data)
logger.info("Got following test suite data from master : %r",
......@@ -432,7 +432,7 @@ shared = true
raise
finally:
# Nice way to kill *everything* generated by run process -- process
# groups working only in POSIX compilant systems
# groups working only in POSIX compliant systems
# Exceptions are swallowed during cleanup phase
logger.info("GENERAL EXCEPTION, QUITING")
self.cleanUp()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment