aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--resources/libraries/robot/default.robot4
-rw-r--r--tests/func/__init__.robot2
2 files changed, 4 insertions, 2 deletions
diff --git a/resources/libraries/robot/default.robot b/resources/libraries/robot/default.robot
index 238749aef1..eeef04a8a2 100644
--- a/resources/libraries/robot/default.robot
+++ b/resources/libraries/robot/default.robot
@@ -24,7 +24,9 @@
*** Keywords ***
| Setup all DUTs before test
| | [Documentation] | Setup all DUTs in topology before test execution
-| | Setup All DUTs | ${nodes}
+| | ${duts}= | Get Matches | ${nodes} | DUT*
+| | :FOR | ${dut} | IN | @{duts}
+| | | Wait Until Keyword Succeeds | 3x | 1 min | Setup Dut | ${nodes['${dut}']}
| Setup all TGs before traffic script
| | [Documentation] | Prepare all TGs before traffic scripts execution
diff --git a/tests/func/__init__.robot b/tests/func/__init__.robot
index 2016146e3b..7d3c64e78b 100644
--- a/tests/func/__init__.robot
+++ b/tests/func/__init__.robot
@@ -16,5 +16,5 @@
| Resource | resources/libraries/robot/interfaces.robot
| Library | resources.libraries.python.SetupFramework
| Suite Setup | Run Keywords | Setup Framework | ${nodes}
-| ... | AND | Setup All DUTs | ${nodes}
+| ... | AND | Setup all DUTs before test
| ... | AND | Update All Interface Data On All Nodes | ${nodes}