Skip to content

Commit

Permalink
Restrict dpdk22 usage only to susu 15 sp5
Browse files Browse the repository at this point in the history
  • Loading branch information
kanchansenlaskar authored and LiliDeng committed Sep 9, 2024
1 parent 3a01472 commit 4df06f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions microsoft/testsuites/dpdk/dpdktestpmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ def _install(self) -> bool:
extra_args=self._backport_repo_args,
)
elif (
isinstance(node.os, Suse) and float(node.os.information.release) >= 15.5
isinstance(node.os, Suse) and float(node.os.information.release) == 15.5
):
node.os.install_packages(["dpdk22", "dpdk22-devel"])
elif isinstance(node.os, (Fedora, Suse)):
Expand All @@ -646,7 +646,7 @@ def _install(self) -> bool:
f"Installed DPDK version {str(self._dpdk_version_info)} "
"from package manager"
)
if isinstance(node.os, Suse) and float(node.os.information.release) >= 15.5:
if isinstance(node.os, Suse) and float(node.os.information.release) == 15.5:
self._dpdk_version_info = node.os.get_package_information("dpdk22")
else:
self._dpdk_version_info = node.os.get_package_information("dpdk")
Expand Down

0 comments on commit 4df06f0

Please sign in to comment.