зеркало из https://github.com/microsoft/lisa.git
install Netperf in parallel to reduce time and extend execution time
This commit is contained in:
Родитель
3700434aa1
Коммит
5dcbc036a6
|
@ -26,7 +26,7 @@ class Texinfo(Tool):
|
|||
def _install(self) -> bool:
|
||||
posix_os: Posix = cast(Posix, self.node.os)
|
||||
try:
|
||||
posix_os.install_packages("texinfo")
|
||||
posix_os.install_packages("texinfo", timeout=2000)
|
||||
except MissingPackagesException:
|
||||
posix_os.install_packages(["perl", "perl-Data-Dumper"])
|
||||
self._install_from_src()
|
||||
|
|
|
@ -182,8 +182,9 @@ def perf_tcp_pps(
|
|||
server = cast(RemoteNode, environment.nodes[1])
|
||||
client = cast(RemoteNode, environment.nodes[0])
|
||||
|
||||
client_netperf = client.tools[Netperf]
|
||||
server_netperf = server.tools[Netperf]
|
||||
client_netperf, server_netperf = run_in_parallel(
|
||||
[lambda: client.tools[Netperf], lambda: server.tools[Netperf]] # type: ignore
|
||||
)
|
||||
|
||||
cpu = client.tools[Lscpu]
|
||||
core_count = cpu.get_core_count()
|
||||
|
|
|
@ -36,7 +36,7 @@ from microsoft.testsuites.performance.common import (
|
|||
)
|
||||
class NetworkPerformace(TestSuite):
|
||||
TIMEOUT = 12000
|
||||
PPS_TIMEOUT = 2000
|
||||
PPS_TIMEOUT = 3000
|
||||
|
||||
@TestCaseMetadata(
|
||||
description="""
|
||||
|
|
Загрузка…
Ссылка в новой задаче