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

DAOS-16484 test: Exclude local host in default interface selection #15049

Merged
merged 2 commits into from
Aug 30, 2024
Merged
Changes from all commits
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
3 changes: 1 addition & 2 deletions src/tests/ftest/util/environment_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

from ClusterShell.NodeSet import NodeSet
# pylint: disable=import-error,no-name-in-module
from util.host_utils import get_local_host
from util.network_utils import (PROVIDER_ALIAS, SUPPORTED_PROVIDERS, NetworkException,
get_common_provider, get_fastest_interface)
from util.run_utils import run_remote
Expand Down Expand Up @@ -327,7 +326,7 @@ def _default_interface(self, logger, hosts):
# Find all the /sys/class/net interfaces on the launch node (excluding lo)
logger.debug("Detecting network devices - D_INTERFACE not set")
try:
interface = get_fastest_interface(logger, hosts | get_local_host())
interface = get_fastest_interface(logger, hosts)
except NetworkException as error:
raise TestEnvironmentException("Error obtaining a default interface!") from error
return interface
Expand Down
Loading