Fix typos in Rally code

Fix few misspelled words in rally code

Change-Id: I2d1a47fc1ec2cea3efe65a2e9574d170e529ce24
Related-Bug: 1489710
This commit is contained in:
Edgar Magana 2015-09-02 15:45:12 -07:00
parent 7041971c41
commit 9ccf31407d
3 changed files with 4 additions and 4 deletions

View File

@ -54,7 +54,7 @@ class Network(context.Context):
# NOTE(rkiran): Some clients are not thread-safe. Thus during
# multithreading/multiprocessing, it is likely the
# sockets are left open. This problem is eliminated by
# creating a connection in setup and cleanup seperately.
# creating a connection in setup and cleanup separately.
net_wrapper = network_wrapper.wrap(
osclients.Clients(self.context["admin"]["endpoint"]),
self.config)

View File

@ -24,7 +24,7 @@ from rally.task import runner
class RandomTimesScenarioRunner(runner.ScenarioRunner):
"""Sample of scenario runner plugin.
Run scenario random number of times, which is choosen between min_times and
Run scenario random number of times, which is chosen between min_times and
max_times.
"""

View File

@ -84,7 +84,7 @@ class LoadExtraModulesTestCase(test.TestCase):
@mock.patch("%s.os.path.isfile" % DISCOVER, return_value=True)
def test_load_plugins_from_file_fails(self, mock_isfile):
discover.load_plugins("/somwhere/plugin.py")
discover.load_plugins("/somewhere/plugin.py")
@mock.patch("%s.os.path.isfile" % DISCOVER, return_value=False)
def test_load_plugins_from_nonexisting_file(self, mock_isfile):
@ -100,4 +100,4 @@ class LoadExtraModulesTestCase(test.TestCase):
mock_find_module, mock_load_module):
# test no fails if module is broken
# TODO(olkonami): check exception is handled correct
discover.load_plugins("/somwhere")
discover.load_plugins("/somewhere")