[PATCH v1] dts: make one link the default topology
Dean Marx
dmarx at iol.unh.edu
Wed Jul 23 15:50:21 CEST 2025
Currently the default topology for test suites when not specified
is two link, which causes all one link test runs to skip.
This makes writing test suites less flexible for a user
who doesn't add a topology requirement, so changing this
to one link reduces barriers to getting a test suite
running quickly.
Bugzilla ID: 1759
Signed-off-by: Dean Marx <dmarx at iol.unh.edu>
---
dts/framework/testbed_model/topology.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dts/framework/testbed_model/topology.py b/dts/framework/testbed_model/topology.py
index 899ea0ad3a..9f21520bbb 100644
--- a/dts/framework/testbed_model/topology.py
+++ b/dts/framework/testbed_model/topology.py
@@ -35,7 +35,7 @@ class TopologyType(int, Enum):
@classmethod
def default(cls) -> "TopologyType":
"""The default topology required by test cases if not specified otherwise."""
- return cls.two_links
+ return cls.one_link
class PortLink(NamedTuple):
--
2.50.1
More information about the dev
mailing list