зеркало из https://github.com/microsoft/lisa.git
Fixed some typos
This commit is contained in:
Родитель
16aa50d944
Коммит
08fb69e3b3
|
@ -39,7 +39,7 @@ When there is any question, please check :doc:`FAQ and troubleshooting
|
|||
Propose or implement a new feature
|
||||
----------------------------------
|
||||
|
||||
If you would like to add any additonal feature, please `file an issue
|
||||
If you would like to add any additional feature, please `file an issue
|
||||
<https://github.com/microsoft/lisa/issues/new>`__ to describe why a feature is
|
||||
needed. Furthermore, if you have a good idea how to implement it, please tell us
|
||||
as well. Once we review and agree on that, follow
|
||||
|
|
|
@ -271,7 +271,7 @@ name
|
|||
type: str, optional, default is “not_named”
|
||||
|
||||
Part of the test run name. This name will be used to group results and
|
||||
put it in title of the html report, also the created resources’s name
|
||||
put it in title of the html report, also the created resources' name
|
||||
contains this specified str.
|
||||
|
||||
.. code:: yaml
|
||||
|
|
|
@ -521,7 +521,7 @@ class Nodes:
|
|||
|
||||
def quick_connect(runbook: schema.Node, logger_name: str = "", index: int = -1) -> Node:
|
||||
"""
|
||||
setup node information and initialize conneciton.
|
||||
setup node information and initialize connection.
|
||||
"""
|
||||
node = Node.create(index, runbook, logger_name=logger_name)
|
||||
if isinstance(node, RemoteNode):
|
||||
|
|
|
@ -588,7 +588,7 @@ class Ubuntu(Debian):
|
|||
# set installed kernel to default
|
||||
#
|
||||
# get boot entry id
|
||||
# postive example:
|
||||
# positive example:
|
||||
# menuentry 'Ubuntu, with Linux 5.11.0-1011-azure' --class ubuntu
|
||||
# --class gnu-linux --class gnu --class os $menuentry_id_option
|
||||
# 'gnulinux-5.11.0-1011-azure-advanced-3fdd2548-1430-450b-b16d-9191404598fb' {
|
||||
|
|
|
@ -37,7 +37,7 @@ PlatformStatus = Enum(
|
|||
|
||||
@dataclass
|
||||
class PlatformMessage(MessageBase):
|
||||
type: str = "Plaform"
|
||||
type: str = "Platform"
|
||||
name: str = ""
|
||||
status: PlatformStatus = PlatformStatus.INITIALIZED
|
||||
|
||||
|
|
|
@ -276,7 +276,7 @@ class RootRunner(Action):
|
|||
task_manager.submit_task(task)
|
||||
else:
|
||||
# current runner may not be done, but it doesn't
|
||||
# have task temporialy. The root runner can start
|
||||
# have task temporarily. The root runner can start
|
||||
# tasks from next runner.
|
||||
break
|
||||
if not task_manager.has_idle_worker():
|
||||
|
|
|
@ -123,4 +123,4 @@ class Git(Tool):
|
|||
no_info_log=True,
|
||||
no_error_log=True,
|
||||
)
|
||||
result.assert_exit_code(message=f"failded on applying patches. {result.stdout}")
|
||||
result.assert_exit_code(message=f"failed on applying patches. {result.stdout}")
|
||||
|
|
|
@ -20,7 +20,7 @@ class Lscpu(Tool):
|
|||
__vcpu_sockets = re.compile(r"^CPU\(s\):[ ]+([\d]+)\r?$", re.M)
|
||||
# Architecture: x86_64
|
||||
__architecture_pattern = re.compile(r"^Architecture:\s+(.*)?\r$", re.M)
|
||||
__vaild_architecture_list = ["x86_64"]
|
||||
__valid_architecture_list = ["x86_64"]
|
||||
|
||||
def _initialize(self, *args: Any, **kwargs: Any) -> None:
|
||||
self._core_count: Optional[int] = None
|
||||
|
@ -48,8 +48,8 @@ class Lscpu(Tool):
|
|||
assert_that(
|
||||
[architecture],
|
||||
f"architecture {architecture} must be one of "
|
||||
f"{self.__vaild_architecture_list}.",
|
||||
).is_subset_of(self.__vaild_architecture_list)
|
||||
f"{self.__valid_architecture_list}.",
|
||||
).is_subset_of(self.__valid_architecture_list)
|
||||
return architecture
|
||||
|
||||
def get_core_count(self, force_run: bool = False) -> int:
|
||||
|
|
|
@ -8,7 +8,7 @@ from lisa.executable import Tool
|
|||
from lisa.operating_system import Posix
|
||||
from lisa.util import LisaException
|
||||
|
||||
# Example output of lspci commnd -
|
||||
# Example output of lspci command -
|
||||
# lspci -m
|
||||
#
|
||||
# 00:00.0 "Host bridge" "Intel Corporation" "5520 I/O Hub to ESI Port" -r13
|
||||
|
@ -18,7 +18,7 @@ from lisa.util import LisaException
|
|||
# 0b:00.1 "Ethernet controller" "Broadcom Corporation" "NetXtreme II BCM5709 Gigabit
|
||||
# Ethernet" -r20 "Dell" "PowerEdge R610 BCM5709 Gigabit Ethernet"
|
||||
#
|
||||
# Segregting the ouput in 4 categories -
|
||||
# Segregting the output in 4 categories -
|
||||
# Slot - 0b:00.1
|
||||
# Device Class - Ethernet controller
|
||||
# Vendor - Broadcom Corporation
|
||||
|
|
|
@ -68,7 +68,7 @@ class KernelInstallerTransformerSchema(schema.Transformer):
|
|||
connection: Optional[schema.RemoteNode] = field(
|
||||
default=None, metadata=schema.metadata(required=True)
|
||||
)
|
||||
# the installer's paramerters.
|
||||
# the installer's parameters.
|
||||
installer: Optional[BaseInstallerSchema] = field(
|
||||
default=None, metadata=schema.metadata(required=True)
|
||||
)
|
||||
|
|
|
@ -25,7 +25,7 @@ class NetworkSettings(TestSuite):
|
|||
2. Change the rx and tx value to new_values using ethtool.
|
||||
3. Get the settings again and validate the current rx and tx
|
||||
values are equal to the new_values assigned.
|
||||
4. Revert back the rx and tx value to their orginal values.
|
||||
4. Revert back the rx and tx value to their original values.
|
||||
|
||||
""",
|
||||
priority=1,
|
||||
|
@ -119,7 +119,7 @@ class NetworkSettings(TestSuite):
|
|||
|
||||
Steps:
|
||||
1. Get the device's enabled features.
|
||||
2. Validate below features are in the list of enbaled features-
|
||||
2. Validate below features are in the list of enabled features-
|
||||
rx-checksumming
|
||||
tx-checksumming
|
||||
tcp-segmentation-offload
|
||||
|
|
|
@ -278,7 +278,7 @@ build='build.10')
|
|||
:param str match_expr: operator and version; valid operators are
|
||||
< smaller than
|
||||
> greater than
|
||||
>= greator or equal than
|
||||
>= greater or equal than
|
||||
<= smaller or equal than
|
||||
== equal
|
||||
!= not equal
|
||||
|
|
Загрузка…
Ссылка в новой задаче