aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2016-10-25 18:18:50 +0200
committerMaciek Konstantynowicz <mkonstan@cisco.com>2016-10-26 14:27:09 +0000
commitd551ef4b72448c3ccb493559826b976a2d3d8649 (patch)
tree4db3c975e3ebcd671bced1e8206a336d02caba72 /resources/libraries/robot
parent868380b0204758ef34c6be5bae0c9bdb00c4107f (diff)
Use 3 tries to prepare DUT for testing
- workaround to deal with occasional vpp restart issue Change-Id: I74a9148045bf4f80c9ba943e9c74338e08b2a72e Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/robot')
-rw-r--r--resources/libraries/robot/default.robot4
1 files changed, 3 insertions, 1 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