Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DPDK: Add 32bit test #3489

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Give rdmacore a common parent class for type enforcement
  • Loading branch information
mcgov committed Jan 22, 2025
commit a4d1a2fc0ad0b12d57222ed2b57fe8c05d9c7644
8 changes: 6 additions & 2 deletions microsoft/testsuites/dpdk/rdmacore.py
Original file line number Diff line number Diff line change
@@ -115,7 +115,11 @@
)


class RdmaCorePackageManagerInstall(PackageManagerInstall):
class RdmaCoreInstaller(Installer):
...


class RdmaCorePackageManagerInstall(RdmaCoreInstaller, PackageManagerInstall):
def _setup_node(self) -> None:
if isinstance(self._os, Fedora):
self._os.install_epel()
@@ -131,7 +135,7 @@ def _check_if_installed(self) -> bool:


# implement SourceInstall for DPDK
class RdmaCoreSourceInstaller(Installer):
class RdmaCoreSourceInstaller(RdmaCoreInstaller):
def _check_if_installed(self) -> bool:
try:
package_manager_install = self._os.package_exists("rdma-core")